Page 1 of 1
About Question enthuware.ocpjp.v7.2.1318 :
Posted: Mon Aug 19, 2013 3:28 pm
by arnoldnitesh
How an object of Object class is-a Object ?
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Mon Aug 19, 2013 7:46 pm
by admin
Not sure what you mean.
-Paul.
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Tue Aug 20, 2013 3:12 am
by arnoldnitesh
your option says: "every object in java "is-a" Object.
Object class doesn't extend itself, It is a super class itself.An object of Object class does not has "is-a" relationship.
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Tue Aug 20, 2013 6:35 am
by admin
An object of a class is always "is-a" that class.
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Fri Dec 06, 2013 1:50 pm
by pavel_c
What about null (null is not an Object)?
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Fri Dec 06, 2013 8:33 pm
by admin
Null is not an object, therefore the question of it being "is-a" Object does not arise.
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Mon Aug 24, 2015 10:15 am
by davidkkkk
Hi
Is 'is-like-a' really used in the Oracle exams ?
Re: About Question enthuware.ocpjp.v7.2.1318 :
Posted: Mon Aug 24, 2015 8:01 pm
by admin
No, the exam does not use this term. That is why we have included a note at the end of the explanation:
"Note: The distinction between is-a and is-like-a is not important for the exam. For the purpose of the exam, is-like-a is same as is-a."
HTH,
Paul.