

McqMate
Q. |
Methods declared as static have several restrictions:~~~1) They can only call other static methods.~~~2) They must only access static data.~~~3) They cannot refer to this or super in any way~~~Which of these are true? |
A. | 1 and 2. |
B. | 1 and 3. |
C. | 2 and 3. |
D. | 1, 2 and 3. |
Answer» D. 1, 2 and 3. |
View all MCQs in
Java ProgrammingNo comments yet