I should not be able to invoke a private method of an instantiated object. I wonder why the code below works.
public class SimpleApp2 { /** * @param
The call you issue is from within the same class where your private method resides. This is allowed. This is the way 'private' is defined in java.