Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ultimateFrisbee;
- public class Person {
- private String firstName;
- private String lastName;
- public Person(String f1Name, String lName){
- firstName = f1Name;
- lastName = lName ;
- }
- public String toString() {
- return lastName + ", " + firstName;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement