Question: Please answer all questions answer. Problem 1 (6 points): Fill in the missing information in the following three rectangles. You are asked to give the
Problem 1 (6 points): Fill in the missing information in the following three rectangles. You are asked to give the names for types of variables (focus on the scope). public class Student ( String name; String phone; public StudentO int age age 1; public Student(String name, String aPhone) this.name name, phone - aPhone; Answer: see above Problem 2 (6 points): Write the for loop statement for a loop that counts from 1000 to 0 by interval of -2. For example, the value of index in the first iteration is 1000, the second teration is 998, ..., 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
