Encapsulation Sam Niland - RitoMandell/preAPCS-1516 GitHub Wiki

Encapsulation uses private variables and turns it into a public variable via methods for use elsewhere.

private int numero;

public int getNumero(){ return numero; }