Java Interview Questions

Monday, 18 March 2013

What is meant by Inheritance and what are its advantages?



What is meant by Inheritance and what are its advantages?  
Inheritance is the process of inheriting all the features from a class. The advantages of inheritance are reusability of code and accessibility of variables and methods of the super class by subclasses.


Blog Author: Vijay Kumar

Go to: Coding Problem Solutions

Posted by Vijay Kumar at 3:24:00 pm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (116)
    • ▼  March (112)
      • ►  Mar 15 (30)
      • ►  Mar 16 (20)
      • ▼  Mar 18 (10)
        • What modifiers may be used with top-level class?
        • What is the difference between super class and sub...
        • What is the difference between this() and super()?
        • What is meant by Inheritance and what are its adva...
        • What is difference between overloading and overrid...
        • What is method overloading and method overriding?
        • What is finalize() method?
        • What is Garbage Collection and how to call it expl...
        • What is UNICODE?
        • What is final, finalize() and finally?
      • ►  Mar 19 (10)
      • ►  Mar 21 (15)
      • ►  Mar 24 (13)
      • ►  Mar 27 (12)
      • ►  Mar 30 (2)
    • ►  April (3)
      • ►  Apr 08 (1)
      • ►  Apr 21 (2)
    • ►  May (1)
      • ►  May 07 (1)

About Me

Vijay Kumar
View my complete profile
Awesome Inc. theme. Powered by Blogger.