Correct Answer: private
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
public @interface A { String value(); } How would you change the 'value' element declaration to give it an empty String as its default?
Which statement is TRUE for enums:
You have the following method, which throws an unchecked exception public boolean testArg(Integer n) throws IllegalArgumentException { if (n == null) throw new IllegalArgumentException(); /* ... */ } Is this throw specification correct?
Whichoperators is used to allocate memory for an object?
Which keywords is used to make a class?
________ is a data structure to store data in sequential order.
Declaring main as ________ allows the jvm to invoke main without creating an instance of the class.
Some programmers refer to a catch block as a ____ clause.
Local variables must be ________.
When you create an array of objects, each reference is assigned the value ____.