

McqMate
Q. |
Which of the following is TRUE? |
A. | In java, an instance field declared public generates a compilation error. |
B. | int is the name of a class available in the package java.lang |
C. | Instance variable names may only contain letters and digits. |
D. | A class has always a constructor (possibly automatically supplied by the java compiler). |
Answer» D. A class has always a constructor (possibly automatically supplied by the java compiler). |
View all MCQs in
Java ProgrammingNo comments yet