Which of the following statements are true about static variables and methods of a class:
I. They can be referenced by the class name (e.g., MyClass.staticMethod()
)
II. They can be referenced from an Instance of the class (e.g., MyClass myInstance = new MyClass(); myInstance.staticMethod();
)
III. The values of a static variable are different between Instances of the same class