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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the characteristic of that class ?

A

java.lang.Object is the only class in java with no parent class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly