Results 1 to 6 of 6
  1. #1
    sabarooni's Avatar
    sabarooni is offline Member
    Join Date
    Nov 2011
    Posts
    19
    Rep Power
    0

    Question Please help with inheritance

    Hi I am finding it difficult to understand the concept of inheritance. the java API doesn't explain it well and I can't find any other site that does. Could any one point me in the right direction?

    I am quite new to java but know the basics (up to about while and for loops)

    thanks!

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default Re: Please help with inheritance

    What don't you understand? Using code examples helps to illustrate things. Try typing up some code using inheritance, post it here and ask a specific question about the code you don't understand.

  3. #3
    sabarooni's Avatar
    sabarooni is offline Member
    Join Date
    Nov 2011
    Posts
    19
    Rep Power
    0

    Default Re: Please help with inheritance

    Quote Originally Posted by Junky View Post
    What don't you understand? Using code examples helps to illustrate things. Try typing up some code using inheritance, post it here and ask a specific question about the code you don't understand.
    i basically need to use inheritance to meet the requirements of a program for college, and was hoping there was some kind of tutorial or something which helps explain how to do them, but if not I will try doing the code without and post it with questions, thanks!

  4. #4
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default Re: Please help with inheritance

    I'm sure you covered inheritance in your classes otherwise you wouldn't be asked to do an assignment on it. I'm also sure any Java textbook covers the subject. I'm also sure that you would find plenty of info on the interwebs if you used Google. Unless you have a sepcific question about inheritance then there is not much we can do.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,798
    Rep Power
    19

    Default Re: Please help with inheritance

    From the Oracle tutorials...
    Interfaces and Inheritance.

  6. #6
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default Re: Please help with inheritance

    You still haven't really asked a question about inheritance. Even someone who never heard of it before would normally ask a question like "What is inheritance?" You are typing words, but no true questions are being strung together.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

Similar Threads

  1. JPA Inheritance
    By videanuadrian in forum Advanced Java
    Replies: 0
    Last Post: 01-11-2011, 06:30 AM
  2. JPA Inheritance
    By videanuadrian in forum New To Java
    Replies: 1
    Last Post: 01-10-2011, 06:44 AM
  3. Inheritance example
    By kris4u4ever in forum New To Java
    Replies: 3
    Last Post: 03-21-2009, 02:53 PM
  4. inheritance
    By itaipee in forum New To Java
    Replies: 6
    Last Post: 01-20-2009, 08:18 PM
  5. Inheritance in GUI
    By Marty in forum SWT / JFace
    Replies: 2
    Last Post: 05-11-2007, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •