T
Tommy
I have just started java-programming (Deitel), and have read about
classes and member classes.
Let's say I have a class Car, and this class has some private members
and private functions. Any functions that is not a member of a car
denies access, to those functions and variables in Car. Is it the
compiler which controls this access control or what? How is this done?
classes and member classes.
Let's say I have a class Car, and this class has some private members
and private functions. Any functions that is not a member of a car
denies access, to those functions and variables in Car. Is it the
compiler which controls this access control or what? How is this done?