search... Ho m e
A pt ptitud e
▼
Reasoning
Exercise
Ve rb rb al al A b il il it it y
▼
Pu zz zz le le s
▼
Programming
▼
Online Onlin e Te st
▼
Interview
▼
General Knowledge
Java Programming :: Language Fundamental Fu ndamentals s
General Questions Question s
@ : Home > Java Programming > Language Fundamentals > General Questions
Finding the output
1.
Which four options describe the correct default values for array elements of the types indicated? 1. int -> 0
"Life is like riding a bicycle. To keep
2. String Strin g -> "null"
your balance you must keep
3. Dog -> null
moving." - Albert Einstein
4. char -> '\u0000' 5. float -> 0.0f 6. boo lean -> true
A.
1, 2, 3, 4
B.
1, 3, 4, 5
C.
2, 4, 5 , 6
D.
3, 4, 5, 6
View Answer 2.
class, if, void, long, Int, continue
B.
goto, insta nceof, native, finally finally,, defau lt, throws
C.
try, virtual, throw, final, volatile, transient
D.
strictfp, strictfp, constan t, supe r, implements, implements, do
E.
byte, brea k, asse rt, switch, include include
A.
int [] myList = {"1", "2", "3"};
B.
int [] myList = (5, 8, 2);
C.
int myList [] [] = {4,9,7,0};
D.
int myList [] = {4, 3, 7};
Report
Discuss in Forum
Workspace
Report
Discuss in Forum
Which is a reserved w ord in the Java programming programming language? A.
method
B.
native
C.
subclasses
D.
reference
E.
array
Workspace
Report
Discuss in Forum
Which is a valid keyword in java? A.
interface
B.
string
C.
Float
D.
unsigned
View Answer
1
Workspace
Which will legally declare, construct, and initialize initialize a n array?
View Answer 5.
Discuss in Forum
A.
View Answer 4.
Report
Which one o f these lists lists contains only Java programming programming language keywords?
View Answer 3.
Workspace
2
3 Ne x t >
Workspace
Report
Discuss in Forum
www.FullSail .F ullSail.edu .edu Ads by Google
www.FullSail.edu
Ads by Google
Read more: Language Fundamentals - Finding the output
© 2008-2010 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy