Select chapter



basics (7.papers)
constructors (1.papers)
packages (1.papers)
inheritance (7.papers)
misc (3.papers)
exceptions (5.papers)
threads (4.papers)
overloading (1.papers)
jsp (3.papers)
servlets (9.papers)
jdbc (2.papers)
util (1.papers)
xml (2.papers)
IO stream (3.papers)
Hide

Sponsored Links


  

java inheritance interview questions and answers

Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
3
What is the difference between inheritance and abstract class?
  1. Interitance means acquring the properties of the base class while abstract class is just a incomplete class which doesn't have all method bodies.
  2. The concept of extending a class by another class is known as inheritance while an abstract class must have all the methods declared as abstract.
  3. Both A and B
  4. None are correct
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
Read more papers :