1. Create a class with at least 2 attribute and 2 methods.
2. Inside the constructor , as for user input for your attributes.
3. Handle the exception correctly , throw it to the caller.
4. Create a driver class that create two object from the above class ( 1 ) .
No comments:
Post a Comment