Amazon Interview Question
Software Engineer / DevelopersFor fundamental topics like encapsulation, polymorphism, inheritance , you need to check some good OO book or article. Its not something someone would like to get answer here for.
As far as multiple inheritance in Java is concerned, Java doesnt support it. However you can exhibit the same behaviour by using Interfaces and letting your class implement those interfaces.
I think Himanshu had put up the question for others to know what kind of questions were being asked instead of asking answers for it.
- Anonymous October 22, 2008