Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Friend {
- String name;
- String midName;
- Date dateOfBirth;
- // this class has on defautl constructor, as you have not defined any construcotr;
- // You can create objects of type Friend like this Friend f = new Friend();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement