The following statement appears in a method in another class: someMethod();. Under which of the following conditions would this statement compile without errors?
A) The method someMethod() is declared as private.
B) The method someMethod() is declared as static.
C) The method someMethod() is declared as public.
D) The method someMethod() is declared as abstract.

Q&A Education