Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package PowerSchool;
- import java.util.ArrayList;
- public class Students {
- ArrayList <Grades> grade=new ArrayList <Grades>();
- ArrayList <Schedule> schedule=new ArrayList <Schedule>();
- private String firstName, lastName;
- public Students() {
- firstName=null;
- lastName=null;
- }
- public void setName(String firstName, String lastName) {
- this.firstName=firstName;
- this.lastName=lastName;
- }
- public String getName() {
- return(firstName+" "+lastName);
- }
- public String getFirst() {
- return(firstName);
- }
- public String getLast() {
- return(lastName);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement