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 variables
Answer: d
Explanation: All objects of class share same static variable, when object of a class are declared, all the objects share same copy of static members, no copy of static variables are made.
Related Posts
Which of these constructors is used to create an empty String object?
Which of these method of class String is used to extract a single character from a String object?
Which of this method of class String is used to obtain a length of String object?
Which of these operators can be used to concatenate two or more String objects?
Which of these class is superclass of String and StringBuffer class?
Does Java support multiple level inheritance?
What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method.
Join The Discussion