MCQOPTIONS
Bookmark
Saved Bookmarks
→
Java Programming
→
Exceptions
→
Can a class be declared with a protected modifier...
1.
Can a class be declared with a protected modifier.
A.
True
B.
False
C.
May be
D.
Can't say
Answer» C. May be
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Java does not allow nesting of methods. (TRUE / FALSE)
What is the output of the below Java program with a final local variable?
What is the output of the Java program with static variables?
A static-method or a static-variable is shared among all instances of a class. (TRUE / FALSE)
In Java, local variables are stored in __ memory and instance variables are stored in ___ memory.
A local variable declared inside a method can not be used in expressions without initializing it first. (TRUE / FALSE).
What is the output of the below Java program with a "this" operator?
A "this" operator used inside a Java method refers to ___ variable.
What is the output of the below Java program with a void method?
What is the output of the below Java program with an empty return statement?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply