aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes IS-A RElationship Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "IS-A RElationship" Watch "IS-A RElationship" New topic
Author

IS-A RElationship

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634



here B IS-A A,but there is no polymorphism

IS-A relationships always rely on polymorphism.

can anyone justify the above statement ?



OCPJP 6.0 93%
OCPJWCD 5.0 98%
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

mohitkumar gupta wrote:
but there is no polymorphism

How can you tell this?
mohitkumar gupta wrote:
IS-A relationships always rely on polymorphism.

Yes, as the name suggests!


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Prasad Kharkar
Ranch Hand

Joined: Mar 07, 2010
Posts: 446
    
    1

how can you say that there is no polymorphism?
when there is inheritance, there is always polymorphism

SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right
Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

THANk you all
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IS-A RElationship