Getter/Setter methods.


public class ClassA
{
//The variable that class be wants to access
private int importantVariable;
//Basic Constructor
public ClassA(int startingValue)
{