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) .
Correct Answer:
Verified
Q3: A class that cannot be a subclass
Q4: When method defined in subclass which has
Q5: Which of the following statement is correct?
A)For
Q6: Java language has support for which of
Q7: Consider the following program:
Import myLibrary.*;
Public class ShowSomeClass
{
//
Q9: Consider the following code snippet
String river =
Q10: What is different between a Java applet
Q11: You read the following statement in a
Q12: Consider
Public class MyClass
{
Public MyClass(){/*code*/
}
// more code...
}
To instantiate
Q13: In Java Inheritance
A)all fields of a class
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents