Saturday, September 5, 2009

SCJP Questions

Given:
1 switch (i) {
2 default:
3 System.out.printIn("Hello");
4 )
What are the two acceptable types for the variable i? (Choose Two)
A. Char
B. Byte
C. Float
D. Double
E. Object
Answer: A, B

0 comments:

Post a Comment

 

About

Site Info

Information Source

Academy of JAVA by Rajesh Rolen Copyright © 2009 Community is Developed by Rajesh Kumar Rolen WebSite

/* tracking code by yahoo login */