About Question enthuware.ocpjp.v7.2.1318 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
arnoldnitesh
Posts: 14
Joined: Thu Apr 18, 2013 2:05 pm
Contact:

About Question enthuware.ocpjp.v7.2.1318 :

Post by arnoldnitesh »

How an object of Object class is-a Object ?

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post by admin »

Not sure what you mean.

-Paul.
If you like our products and services, please help us by posting your review here.

arnoldnitesh
Posts: 14
Joined: Thu Apr 18, 2013 2:05 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post 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.

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post by admin »

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.

pavel_c
Posts: 1
Joined: Fri Dec 06, 2013 1:47 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post by pavel_c »

What about null (null is not an Object)?

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post by admin »

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.

davidkkkk
Posts: 6
Joined: Fri Mar 20, 2015 8:42 am
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post by davidkkkk »

Hi

Is 'is-like-a' really used in the Oracle exams ?

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1318 :

Post 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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 232 guests