Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Classes Classw NYE NYE TE NYE TE repl.it - M Yourqu Classes C Classes M Your O Z Returns M Gmail - Farnou + x

image text in transcribed

Classes Classw NYE NYE TE NYE TE repl.it - M Yourqu Classes C Classes M Your O Z Returns M Gmail - Farnou + x E C Apps docs.google.com/document/d/15nap9-ivcwKbd2j_3alejApKw1Vts9aZ_aeZhYq9Mbs/edit FTC Coach & Team... Photoshop Portable... a Amazon.com Shop... Download your NA... NYE TENERELLI - Unit 5 Lesson 6 Writing Methods Worksheet File Edit View Tools Help Last edit was 42 minutes ago * Share N @ 100% - View only Matching: Identify the code segments indicated in bold as: a) Method header b) Method call c) Arguments (actual parameters) d) Fomal parameters e) Object name fi Method name ) Error 1. Math. pow(2,8); C 2. solution.output("Hello",5); e 3. public void welcome (String back a 4. solution.output ("Hello", 5); 5. public void dostuff (String num) a 6. solution.dostuff (27.5); y 7. Helger help = new Helper: int nl - 12; int n2 = 5; help.dostuff (int ni, int n2); b 1. Fill in the method header below with two formal parameters called nl and n2. The data passed in will be used as whole numbers public void add ums (int n, int n2) 9. Fill in the method header with two parameters that will be used for a person's name and a dollar amount (in that order). You may create your own variable names. public void mystery (String ?, int D) 10. Fill in the method beader that corresponds to the following method call. Variable names will vary. example.dostuff ("Bob", 45, 12.99); public void dosturr string name, int acc, double money) O AL 9 e O Type here to search " 12:47 PM 1/29/20203

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions