We help IT Professionals succeed at work.
Get Started

Java booking system program

john8932 asked
Last Modified: 2012-05-05
I have to develop a specification for a booking system for a fictitious holiday company.

I know that the structure of this kind of system is like a relational database although modeling it using Java might help me build the specification.

I need to be able to add, edit and remove a holiday.

Holiday is a class. A new holiday is a new instance of this class i.e. a new instance is made and properties of the class are defined or given values which go into the constructor of the class and the variables of that class are given these values:

String holidayName = holidayNameIn;
Int holidayPrice = holdiayPriceIn;
Int holidayID = holidayIDIn;

The problem is how do I edit the holiday variables once it is created. Adding is just creating a new class instance and removing is deleting the class instance which is simple.

Question = What I am trying to do is modify variables when the class is already made - not possible in Java but possible in a specification?

If more information is needed or you need a better explanation then please say.

Cheers anyone
Watch Question
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE