Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By SurfMan

Thread: i need code...

  1. #1
    mappdox's Avatar
    mappdox is offline Member
    Join Date
    Dec 2015
    Location
    Somewhere in the Philippines
    Posts
    2
    Rep Power
    0

    Default i need code...

    hi guyz,

    i need a code for this one, "create a class name Book that contains data fields for the little and number of page. Include get() and set()
    methods for these fields. then, create a subclass named Textbook, which contain an Textbook and additional methods to get and set the grade level
    field. Name the programs as Book.java and Textbook.java.

    Thanks....

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,991
    Rep Power
    8

    Default Re: i need code...

    We're not handing out free homework solutions here. I am pretty sure something as simple as this is explained in your textbook (pun intended). Give it a try, and if you run into problems, do come back and ask questions a out the things you don't understand.
    mappdox likes this.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  3. #3
    mappdox's Avatar
    mappdox is offline Member
    Join Date
    Dec 2015
    Location
    Somewhere in the Philippines
    Posts
    2
    Rep Power
    0

    Default Re: i need code...

    I do not know .... I suppose there is code to create it ... I would still do create a code...

    Thank you... @SurfMan
    Last edited by mappdox; 12-13-2015 at 09:29 AM.

Similar Threads

  1. Posting code to forum : Code to code tags
    By rushtojess in forum Suggestions & Feedback
    Replies: 2
    Last Post: 04-21-2015, 08:16 PM
  2. Replies: 1
    Last Post: 03-25-2012, 03:40 AM
  3. Replies: 16
    Last Post: 01-31-2012, 08:36 PM
  4. Replies: 0
    Last Post: 08-07-2011, 08:32 PM
  5. Replies: 0
    Last Post: 02-21-2011, 11:50 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
  •