hi guys
im an IT student an i have a very important assignment to return in 2 days time and im stuck with it i dnt know what to do. the assignment is as follows.
Write a complete class definition in java for the following.your answer must include at least 2 constructors, a finalizer, a display() method, a menu that allows to test all functions of the class and a main().
Class: MobilePhone
Attributes:ownNumber, calledNumber, status(busy/free)
Methods: dial(), call(), redial(), disconnect(), cancel(), receiveCall(), ValidatePhoneNo().
im counting on you guys your solution will serve me as a very good reference.my book on java is coming only next week i hope i get an answer from you soon.......
thanks a lot.....