Results 1 to 2 of 2
  1. #1
    mathias is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Create a new variable

    Hi, I want the client to be able to create a new variable, how do I do this?
    The variable should look like this:
    Java Code:
    Student student = new Student ();
    Thanks

  2. #2
    baltimore is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Design an interface for the user to enter the necessary data needed to create the object, with a button that creates the new object and adds to to a list of all object. Is that what you mean?

Similar Threads

  1. Increment a Variable
    By rhm54 in forum New To Java
    Replies: 2
    Last Post: 06-14-2008, 03:57 AM
  2. getting the value of variable
    By Lehane_9 in forum New To Java
    Replies: 2
    Last Post: 03-05-2008, 02:42 AM
  3. Getting variable value from a variable name
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-16-2008, 10:26 PM
  4. Not initialized variable
    By bbq in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 10:02 AM
  5. Access a variable
    By Eric in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 09:29 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
  •