Which of the following are true?
Choose all that apply.
main()
method of an application. toString()
method. wait()
method. notify()
method. A, B, C, D.
Enums may contain public static void main()
methods and may serve as application main classes. Enums inherit from Object, so they have toString()
, wait()
, and notify()
methods.