InterviewSolution
Saved Bookmarks
| 1. |
Which of the following statements are incorrect?(a) static methods can call other static methods only(b) static methods must only access static data(c) static methods can not refer to this or super in any way(d) when object of class is declared, each object contains its own copy of static variablesThis question was addressed to me in my homework.This intriguing question originated from Arrays Revisited & Keyword static in portion Classes and Methods of Java |
|
Answer» Right choice is (d) when object of CLASS is declared, each object CONTAINS its own copy of static variables |
|