Question: 1. What is a parameter? ___________________________________________________________ Also explain its purpose: _________________________________________________________ _____________________________________________________________________________ 2. What are the 2 types of local variables? ____________________________________________ Option: What is
1. What is a parameter? ___________________________________________________________ Also explain its purpose: _________________________________________________________ _____________________________________________________________________________ 2. What are the 2 types of local variables? ____________________________________________ Option: What is the name of the local variable in the setBallName() method? ______________ 3. What is the name of the accessor method added to the Ball class: _______________________ 4. Can one class contain methods with these two signatures? _____________________________ public int getSize(){} public int getSize(int more){}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
