Access Modifiers (examples)
private double bankBalance; //private data
private double autoTransfer(); // private method
public String bankAddress; // public data
public double checkBalance(accountNumber); // public method
When you use inheritance many private items become protected so that they may be available to the inherited sub-classes.