Vidyalelo
Java Programming · Q43

Declaration and Access Control

Programming · Java Programming · question 43

Q43

Choose the correct statement. Restriction on static methods are: I. They can only call other static methods. II. They must only access static data. III. They cannot refer this or super in any way.

A.
Only (I)
B.
(I) and (II)
C.
(II) and (III)
D.
Only (III)
E.
(I), (II) and (III)
Answer

Answer: Option E

Solution

Answer: Option E
No explanation is given for this question Let's Discuss on Board