Creating Java Objects Flashcards
1
Q
What is the java class with no parent class ?
A
The class with no parent is the class java.lang.Object
Every java class with no exception inherit from java.lang.Object
2
Q
What is the characteristic of that class ?
A
java.lang.Object is the only class in java with no parent class