Multiple Choice
When no access modifier is specified for a method or variable,the method or variable:
A) Is public.
B) Is private.
C) Has package access.
D) Is static.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: Static class variables:<br>A) are final.<br>B) are public.<br>C)
Q5: When must a program explicitly use the
Q6: The _ of a class are also
Q7: A constructor cannot:<br>A)be overloaded.<br>B)initialize variables to their
Q8: Which of the following statements is false?<br>A)An
Q10: The static method _ of class String
Q12: A programmer-defined constructor that has no arguments
Q14: What happens when this is used in
Q16: Which statement is false?<br>A) An enum declaration
Q27: Which statement is false?<br>A) The actual data