package persons;

/**
 * Created by fcmam5 on 11/13/15.
 * Implemented by
 */
public class Volunteer extends Personne {
  
 
     
     private int age ;
     private double poids ;
     private int physical_cond_scale ;

    public Volunteer(int age, double poids, int physical_cond_scale, String name, String firstName, String grouping, String[] adresse) {
        super(name, firstName, grouping, adresse);
        this.age = age;
        this.poids = poids;
        this.physical_cond_scale = physical_cond_scale;
    }


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    
    
    
    public double getPoids() {
        return poids;
    }
     public void setPoids(double poids) {
        this.poids = poids;
    }

    public int getPhysical_cond_scale() {
        return physical_cond_scale;
    }

    public void setPhysical_cond_scale(int physical_cond_scale) {
        this.physical_cond_scale = physical_cond_scale;
    }
     
   
     }
     

package persons;

/**
 * Created by fcmam5 on 11/13/15.
 * Implemented by  nourelhouda31
 */
public class Volunteer extends Personne {

     private double poids ;
     private byte physical_cond_rate; // Scale on 5 (Format: x/5)

    public Volunteer(int age, double poids, byte physical_cond_rate, String name, String firstName, String grouping, String adresse[]) {
        super(name, firstName, age,grouping, adresse);
        this.poids = poids;
        this.physical_cond_rate = physical_cond_rate;
    }

    
    public double getPoids() {
        return poids;
    }
     public void setPoids(double poids) {
        this.poids = poids;
    }

    public byte getPhysical_cond_rate() {
        return physical_cond_rate;
    }

    public void setPhysical_cond_rate(byte physical_cond_rate) {
        this.physical_cond_rate = physical_cond_rate;
    }
     
   
     }
     

Modify params