Thread: Class inheritance

Results 1 to 3 of 3
  1. #1 Class inheritance 
    Registered Member
    Join Date
    Jan 2015
    Posts
    277
    Thanks given
    30
    Thanks received
    23
    Rep Power
    34
    My assignment is to give an example of when I could use class inheritance. I know what it means, but I was wondering if someone could give me an example of class inheritance for single, multi-level, and hierarchical. I just want to see what each can be used for, will rep thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2015
    Posts
    2
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Pretty simple concept!

    The key to this is to read and understand....

    https://docs.oracle.com/javase/tutor...heritance.html

    example: you are inheriting a property from the super class and using it in a sub class.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Jan 2015
    Posts
    277
    Thanks given
    30
    Thanks received
    23
    Rep Power
    34
    Quote Originally Posted by new Account View Post
    Pretty simple concept!

    The key to this is to read and understand....

    https://docs.oracle.com/javase/tutor...heritance.html

    example: you are inheriting a property from the super class and using it in a sub class.
    Thank you!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. class Banner
    By samuraiblood2 in forum Tutorials
    Replies: 4
    Last Post: 11-22-2007, 01:34 AM
  2. Art Class FTW.
    By Inside Sin in forum Showcase
    Replies: 4
    Last Post: 10-23-2007, 11:06 AM
  3. Importing Methods From Another Class.
    By steve20007 in forum Tutorials
    Replies: 5
    Last Post: 09-28-2007, 01:49 AM
  4. Making a .JAR file to .CLASS files
    By ParasyncheD in forum Tutorials
    Replies: 10
    Last Post: 05-18-2007, 04:05 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •