*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes PLS HELP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "PLS HELP " Watch "PLS HELP " New topic
Author

PLS HELP

Kruger Scheitz
Ranch Hand

Joined: Jul 31, 2002
Posts: 72
Hi ,
I am trying to implement lock and unlock methods. I have db.db file that has flight information. The instructions say that I may move this(db.db) file but I may not modify it. I don't understand why db.db should not be modified, then where does the new airline flight bookings go?

my second question is which way is better to get the "word" out of a sentence. Should i first get the "String of data" line by line and then substring them or should i just use StringToken? and I find it hard to use StringToken....please enlighten me!
friso dejonge
Ranch Hand

Joined: Jul 11, 2002
Posts: 162
Hi ,
I don't understand why db.db should not be modified, then where does the new airline flight bookings go?

You are not allowed to change columnames, etc, but you are allowed to modify (substract) the reserved seats field. Also you do not have to save any information on who booked what, when etc.

my second question is which way is better to get the "word" out of a sentence. Should i first get the "String of data" line by line and then substring them or should i just use StringToken? and I find it hard to use StringToken....please enlighten me!

If you are using it for your criteria find method, then the answer is StingToken. (although it may still be a matter of preference)
Otherwise i cannot see the use for it, and cannot give a valid answer.
sorry again, but hope this helps,
friso


swimming certificate (A & B), shoelaces diploma, and some useless java ones.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

The instructions say that I may move this(db.db) file but I may not modify it. I don't understand why db.db should not be modified, then where does the new airline flight bookings go?

All it says that you should include the original db.db file with your submission. Your program definitely should modify the db.db, just make a copy.
Eugene.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

"if"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PLS HELP
 
Similar Threads
StringToken or substring??
don't modify db.db but why!
question about assignment
How to implement booking action
Lock on flight no. or rec no.