An enclosing instance that contains is required
Below is the code. positionObj is the object that I am trying to use and i
positionObj
First create an object of Outer class. In this case I think "Secretary". Then create positionObj. Like this,
Secretary x = new Secretary(); Secretary.positionObj y = x.new positionObj();