This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Thanks a lot for ur immediate responce Mr.Morris & Mr.Mark. What i mean is instred of having seperate method like read(int recNo), modify(int recNo ) like lock() and unlock() can i have a common method named modifyRec(int recNo,int seat) which will first do reading followed by modifying. Please give ur comments and feedback on this. -regards, dhana
Isn't that saying the same thing that Micheal just said in his doBooking method. Yes you will have a method like this, but not directly in the Data class. This will be in a DataAccessFacade type design pattern, for the client. And please change your name to your first and last name. This is a policy of Javaranch, and you have been asked a few times already. Mark [ March 29, 2002: Message edited by: Mark Spritzler ]
Joined: Feb 25, 2002
Iam very sorry for not changing my name. Any how now i changed it as u guys said. -dhana