Encapsulation Isaiah Vela - RitoMandell/preAPCS-1516 GitHub Wiki
Encapsulation is changing a field in a class from private to public or from public to private.You could change private ints to public so that they may show their values, if needed.
Example:
public class EncapTest{
private String name; private String idNum; private int age;
public int getAge(){ return age; }
public String getName(){ return name; }
public String getIdNum(){ return idNum; }
public void setAge( int newAge){ age = newAge; }
public void setName(String newName){ name = newName; }
public void setIdNum( String newId){ idNum = newId; } }