Field or method is not accessible

You tried to access a field or method of an object that is not accessible at this point, because it is declared in a private or protected section of a class. See Member visibility.

class Test {
private:
  int fMyInt
}

Test t = new Test
t.fMyInt = 3   ; Error!

See Also
Errors