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

    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 is offline Senior Member
    Join Date
    Aug 2008
    Stockholm, Sweden
    Rep Power


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