Question: Question 3 2 pts Local variables: (choose two) may have the same name as local variables in other methods are available to the whole program



Question 3 2 pts Local variables: (choose two) may have the same name as local variables in other methods are available to the whole program are hidden from other methods cannot conflict with local variables in the Math() class Question 5 2 pts All @param tags in a method's JavaDoc comment must: O end with a */ o appear after the general description of the method span several lines Question 6 2 pts Suppose a method declares a local variable: int localVar: When does localVar exist? O while the class is instantiated during the whole program run O while the method is executing Question 8 2 pts If you call a method with local variables several times, do the method's local variables retain their values between calls? O No Yes Question 9 2 pts The collection of statements performed when the method executes is called: return type modifier O header body
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
