From an instance method, you can call a static method
- Acheck_circle
Yes (directly by name)
- B
Only via class name
- C
Only via the object
- D
Never
Explanation
Static methods are accessible from anywhere in the class.
AP Computer Science A· difficulty 4/5
From an instance method, you can call a static method
Yes (directly by name)
Only via class name
Only via the object
Never
Explanation
Static methods are accessible from anywhere in the class.
Want 10 more like this — adaptive to your weak spots?