Apply Your Knowledge
Exam Questions
The following sample exam questions are from Sun.
1: | What would be the result of attempting to compile and run the following piece of code?
public class Test { static int x; public static void main (String args[]) { System.out.println("Value is " + x); } }
|
2: | What should you use to position a Button within an application Frame so that the size of the Button is not affected by the Frame size?
|
Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.