About Question enthuware.ocpjp.v7.2.1318 :
Moderator: admin
-
- Posts: 14
- Joined: Thu Apr 18, 2013 2:05 pm
- Contact:
About Question enthuware.ocpjp.v7.2.1318 :
How an object of Object class is-a Object ?
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
Not sure what you mean.
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 14
- Joined: Thu Apr 18, 2013 2:05 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
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.
Object class doesn't extend itself, It is a super class itself.An object of Object class does not has "is-a" relationship.
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
An object of a class is always "is-a" that class.
If you like our products and services, please help us by posting your review here.
-
- Posts: 1
- Joined: Fri Dec 06, 2013 1:47 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
What about null (null is not an Object)?
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
Null is not an object, therefore the question of it being "is-a" Object does not arise.
If you like our products and services, please help us by posting your review here.
-
- Posts: 6
- Joined: Fri Mar 20, 2015 8:42 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
Hi
Is 'is-like-a' really used in the Oracle exams ?
Is 'is-like-a' really used in the Oracle exams ?
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1318 :
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.
"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.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 232 guests