Question OOP-CLS-0047
MediumA class Student has 3 instance variables and a static variable totalStudents. 50 Student objects are created. How many copies of totalStudents exist?
- A.
3
- B.
50
- C.
1
- D.
150
Sign up free to see the answer and a step-by-step explanation.