Multiple Choice
Which modifier is used to specify that a method cannot be used outside a class?
A) public
B) abstract
C) static
D) private
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: Methods are also called modules.
Q20: All the methods defined in a class
Q27: public int mystery(int x, int y)<br>{<br>If (x
Q28: public class scopeRule //Line 1<br>{ //Line 2<br>Static
Q29: You can use the class String to
Q29: int larger(int x, int y)Given the method
Q34: public static double secret(int first, double second)<br>{<br>Double
Q41: The return statement must be the last
Q43: In Java, return is a reserved word.
Q45: Which of the following statements is NOT