Multiple Choice Question

Quiz Guidelines

 

QID: 
107
Question: 

How can you declare a method someMethod() such that an instance of the class is not needed to access it and all the members of the same package have access to it?

Select 3 options

A. public static void someMethod()
B. static void someMethod()
C. protected static void someMethod()
D. void someMethod()
E. protected void someMethod()
F. public abstract static void someMethod()

Q&A Set: