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 2 of 2

Thread: Inheritance

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Thanked 0 Times in 0 Posts

    Default Inheritance

    Guys, could you please help me regarding the Inheritance topic, I know that if i need a method that is in some class all i can do is create a new object for the class(for non static methods) and use the methods that i want to use, then why do i still need to extend classes, if i can have access to methods by typing the class name and whatever methods that within that class!! Please help

    Thanks in advance.

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Inheritance

    Same as in the chat window, read this trail to the end. Then come back if you have lingering questions. As with most programming topics and principles, practicing with illustrative examples is the best way to learn and understand something.

Similar Threads

  1. Inheritance[HELP!]
    By cjasonpogi in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 22nd, 2013, 02:56 AM
  2. Inheritance
    By vasanthjayaraman in forum Java Theory & Questions
    Replies: 5
    Last Post: July 10th, 2013, 12:28 PM
  3. Help with inheritance
    By jean28 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 8th, 2012, 12:07 AM
  4. hi need help with inheritance
    By fredsilvester93 in forum Java Theory & Questions
    Replies: 2
    Last Post: July 19th, 2012, 04:01 PM
  5. Inheritance
    By lewzax in forum Object Oriented Programming
    Replies: 4
    Last Post: July 8th, 2011, 01:51 PM