Results 1 to 2 of 2
  1. #1
    peter123 is offline Member
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0

    Default help with creating string

    Hi im new to java.

    what i need to do is make a class called Holiday with data members end date, start date, price and place as data type String.

    after that how do i provide a accessor pairs and a constructor so that it will initialise all the data members.

    please help i really struggling, :confused:
    by the way im using bluej

    thanks in advance,

  2. #2
    ojn
    ojn is offline Senior Member
    Join Date
    Sep 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    Post your best efforts and ask specific questions. If you don't even know how to start you really need to go back to basics and study the tutorials and any materials provided by your teacher.

Similar Threads

  1. Creating a custom String Tokenizer
    By kgrant5116 in forum New To Java
    Replies: 0
    Last Post: 03-21-2011, 03:14 PM
  2. Problem with creating a string bar chart
    By hubaba in forum New To Java
    Replies: 4
    Last Post: 04-04-2010, 08:06 PM
  3. Creating PDF file from a String
    By faroafro in forum Advanced Java
    Replies: 6
    Last Post: 11-17-2009, 12:38 AM
  4. Creating Array of Characters From a String
    By ngc0202 in forum New To Java
    Replies: 6
    Last Post: 07-30-2009, 08:30 AM
  5. Creating objects based on a String value
    By lvh in forum New To Java
    Replies: 4
    Last Post: 04-30-2008, 03:00 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
  •