aspose file tools*
The moose likes Beginning Java and the fly likes Interview question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interview question?" Watch "Interview question?" New topic
Author

Interview question?

teja dharma
Ranch Hand

Joined: Feb 07, 2009
Posts: 51
what is the best answer in interview if they ask what is polymorphism? what is inheritance?


SCJP 5
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

What are your answers?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
teja dharma
Ranch Hand

Joined: Feb 07, 2009
Posts: 51
Bear Bibeault ,I don't know.What is the best answer if they ask these questions.What would you say if they ask the same questions to you?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Bear's point is that we're not just going to hand out an answer: you need to ShowSomeEffort.

If *I* was asked that question I'd walk out of the interview, because they're obviously not looking for a developer of my experience level.
Nilesh Tailor
Greenhorn

Joined: Apr 30, 2010
Posts: 1
to help you out, i googled a site that may help you
http://home.cogeco.ca/~ve3ll/jatutor5.htm

Polymorphism and Inheritance are directly connected in OOP so if you dont know it then I would take some time in understanding how to properly create objects, abstract classes, interfaces, etc.


What the world needs now is a better Java IDE
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

is polymorphism possible without inheritence/relation ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38818
    
  23
Seetharaman Venkatasamy wrote:is polymorphism possible without inheritence/relation ?
In my opinion, no.
 
 
subject: Interview question?