/Users/e1813314/Desktop/IA Final Submission 000307-0066/Product/Athletics Awards Netbeans Project/src/iacomsci_allan/Player.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package iacomsci_allan;
 7 
 8 /**
 9  *
10  * @author 13314
11  */
12 //Made abstract as it is the superclass in this inheritance
13 public abstract class Player {
14 
15     private String firstName = "not set yet";
16     private String lastName = "not set yet";
17     private int grade = -99;
18 
19     //Constructing the data type
20     public Player(String fname, String lname, int grade) {
21         this.firstName = fname;
22         this.lastName = lname;
23         this.grade = grade;
24     }
25 
26     //Gets for the attributes of the Player data type
27     public String getFirstName() {
28         return firstName;
29     }
30 
31     public String getLastName() {
32         return lastName;
33     }
34 
35     public int getGrade() {
36         return grade;
37     }
38 
39 }
40