Answer the following in the given snippet:
class Exam
int x.y; void School()
int a,b;
System.out.println("Delhi Public School");
public static void main()
1
int,m,n;
Exam School= new Exam();
1
(i) What is the object name of the class Exam? (ii) Name the class variables used in the program.
(iii) List the local variables used in the program. (iv) Write the type of function used.
(v) Write the name of the function.
Answers
Answered by
4
Similar questions