Questions « Modifiers « SCJP
Home
SCJP
1.
Java Source And Data Type
2.
Operators
3.
Modifiers
4.
Type Casting
5.
Statements
6.
Object Oriented
7.
Thread
8.
Utility Classes
9.
File
Java
Java Tutorial
Java Book
Java Source Code / Java Documentation
Java Source Code / Java Documentation 2
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Spring questions and answers
Swing questions and answers
JPA questions and answers
SCJP
»
Modifiers
»
Questions
3.16.Questions
3.16.1.
Which is/are true?
3.16.2.
Answer: interface and implementation
3.16.3.
Which of the following may be declared final?
3.16.4.
Answer: final class, method, and field
3.16.5.
Which of the following may follow the static keyword?
3.16.6.
Answer: static class, method and field
3.16.7.
Which access modes may apply to B's version of doSomething()?
3.16.8.
Answer: access modifier and inheritance
3.16.9.
Any instance of Y may call the aMethod() method of any other instance of Y (True/False)
3.16.10.
Answer: access modifier and multi-package
3.16.11.
A final class may not be extended (true/false)
3.16.12.
Answer: final and extension
3.16.13.
What is the output(static instance)?
3.16.14.
Answer: static instance
java2s.com
|
|
Contact Us
|
Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.