Page 4 of 4 FirstFirst ... 234
Results 61 to 65 of 65
  1. #61
    Vio
    Vio is offline Member
    Join Date
    Oct 2009
    Location
    Belgium
    Posts
    18
    Rep Power
    0

    Default

    Quote Originally Posted by s_dawg101 View Post
    do i need a contructor in the demo class???
    No. Does it work already?

  2. #62
    pellebye is offline Member
    Join Date
    Apr 2009
    Posts
    54
    Rep Power
    0

    Default

    Well, your main exercise was:

    Java Code:
    This class should include a constructor, accessor and mutator methods.
    See post #1
    -
    Life is not the worst thing we have ... in a few minutes my coffee is ready.

  3. #63
    s_dawg101 is offline Member
    Join Date
    Oct 2009
    Posts
    49
    Rep Power
    0

    Default

    the main class should include a contructor. i have to classes. and the second one doesnt compile

  4. #64
    Vio
    Vio is offline Member
    Join Date
    Oct 2009
    Location
    Belgium
    Posts
    18
    Rep Power
    0

    Default

    Sorry for confusing you, I'm used to call the startupclass(in your excecise the demo class) the main class(netbeans standard).

  5. #65
    s_dawg101 is offline Member
    Join Date
    Oct 2009
    Posts
    49
    Rep Power
    0

    Default

    i see. i think the startupclass or the demo class has everything but i am not sure

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Child-Class Calling a Method in a Parent-Class
    By Blah_ in forum New To Java
    Replies: 5
    Last Post: 09-29-2009, 02:48 AM
  2. Replies: 7
    Last Post: 05-06-2009, 12:42 PM
  3. Replies: 8
    Last Post: 03-21-2009, 09:34 AM
  4. Replies: 0
    Last Post: 05-13-2008, 06:16 AM
  5. Class Reflection: Finding super class names
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-23-2008, 08:12 PM

Tags for this Thread

Posting Permissions

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