Welcome Guest | Sign in | Register
Abstract - Discussion Page For Q.2498 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Abstract > Questions and Answers

Q: Given
11. public interface Status {
12. /* insert code here */ int MY_VALUE = 10;
13. }


Which three are valid on line 12? (Choose three.)

A. final
B. static
C. native
D. public
E. private
F. abstract
G. protected
A. ABC B. EFG
C. ADE D. ADF
E. ABD

Answer and Explanation

Answer:ABD

Explanation:
 any variable you declare in interface by default that will be public static final.

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.