/Users/e1813314/Desktop/IA Final Submission 000307-0066/Product/Athletics Awards Netbeans Project/src/iacomsci_allan/Varsity.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 //Entends the super class Player as Varsity is a subclass
13 public class Varsity extends Player {
14 
15     private String position = "not set yet";
16     private boolean isIasas = false;
17 
18     //Constructing the data type
19     public Varsity(String n, String l, int g, String position, boolean isIasas) {
20         //Satisfying the abstraction for the super class
21         super(n, l, g);
22         this.position = position;
23         this.isIasas = isIasas;
24     }
25 
26     //Gets for the attributes of the Varsity data type
27     public String getPosition() {
28         return position;
29     }
30 
31     public boolean getIsIasas() {
32         return isIasas;
33     }
34 
35 }
36