public class Name extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private String |
firstName |
private String |
lastName |
private static long |
serialVersionUID |
Constructor and Description |
---|
Name(String firstName,
String lastName) |
Modifier and Type | Method and Description |
---|---|
String |
getFirstName() |
String |
getLastName() |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
String |
toString() |
private static final long serialVersionUID
private String firstName
private String lastName
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.