Copyright ©Marcus Green 2002 Last Updated 18 Sep 2003 This exam is based on the objectives of the JDK 1. 2 exam. You can see set of 60 questions for the JDK1. 4 exam at JDK1. 4 Exam
Float f=1.3;
Char c="a";
Byte b=257;
Boolean b=null;
Int i=10;
Error Can't make static reference to void amethod
Error method main not correct error method main not correct error method main not correct error method main not correct
Error array must include parameter
Amethod must be declared with String
A
B
C
A and b
B and c
None of the choices.
-128 to 127
(-2 power 8 )-1 to 2 power 8
-255 to 256
Depends on the particular implementation of the Java Virtual machine