1z0-851: Java SE 6 Programmer Certified Professional System.out.println Practice Questions
The free 1z0-851: Java SE 6 Programmer Certified Professional questions that deal with system.out.println, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #6
What will be the output of the following code snippet: int x = 5; System.out.println(x++);?
Correct answer: B
Explanation
x is printed first and then incremented after, displaying 5.
Question #10
What will System.out.println((5 > 3) ? "Greater" : "Lesser"); output?
Correct answer: D
Explanation
The ternary operator returns the first expression because 5 is greater than 3.
Continue with 1z0-851: Java SE 6 Programmer Certified Professional
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in 1z0-851: Java SE 6 Programmer Certified Professional, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All 1z0-851: Java SE 6 Programmer Certified Professional practice questions →
