August 2003
Intermediate to advanced
672 pages
16h 23m
English
This is a mock exam for the Sun Certified Programmer for the Java 2 Platform (SCPJ2 1.4). It comprises brand new questions, which are similar to the questions that can be expected on the real exam. Working through this exam will give the reader a good indication of how well she is prepared for the real exam, and whether any topics need further study.
| Q1 |
Given the following class, which statements can be inserted at position 1 without causing a compilation error?
public class Q6db8 {
int a;
int b = 0;
static int c;
public void m() {
int d;
int e = 0;
// Position 1
}
}
Select the four correct answers.
|
| Q2 |
Which statements are true about the effect of the >> and >>> operators?
Select the three correct answers. ... |
Read now
Unlock full access