Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: OOPS Concept - Inheritance

  1. #1
    Junior Member
    Join Date
    May 2017
    Thanked 0 Times in 0 Posts

    Default OOPS Concept - Inheritance

    Inheritance is the OOPS features:

    Inheritance means re-usability.for example

    son re-use his father sir name like father name is ranbir singh and son name is karan singh . so there is singh is a sir name.
    in java, there are three types of inheritance are supported, which are
    1) single inheritance
    2) multi-level inheritance
    3) hierarchical inheritance

    in java multiple inheritance are not supported through class bu it is possible through interface in java

  2. #2
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    My Mood
    Thanked 104 Times in 90 Posts

    Default Re: OOPS Concept - Inheritance

    Did you have a specific question, perhaps regarding inheritance?

  3. #3
    Member John Joe's Avatar
    Join Date
    Jun 2017
    My Mood
    Thanked 1 Time in 1 Post

    Default Re: OOPS Concept - Inheritance

    Looked like a small notes to me...
    Last edited by John Joe; June 22nd, 2017 at 04:33 AM.
    Whatever you are, be a good one

  4. #4

    Default Re: OOPS Concept - Inheritance

    The interface in java is a mechanism to achieve abstraction. There can be only abstract methods in the java interface not method body. It is used to achieve abstraction and multiple inheritance in Java. By interface, we can support the functionality of multiple inheritance.

Similar Threads

  1. JADE---Sending an Concept including an concept
    By HansDampf in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 25th, 2014, 12:22 AM
  2. how to approach oops
    By veera in forum Java Theory & Questions
    Replies: 2
    Last Post: August 1st, 2013, 02:23 PM
  3. HELP with Inheritance concept here
    By dreamincode in forum Java Theory & Questions
    Replies: 6
    Last Post: January 5th, 2013, 06:45 AM
  4. HELP with Inheritance concept here
    By dreamincode in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 3rd, 2013, 11:03 AM
  5. Java oops concept video for 10 min
    By jessie143143 in forum The Cafe
    Replies: 1
    Last Post: October 10th, 2011, 06:50 AM