310-035  Exam

Exam # of questions Description  Update
310-035 253 310-035 Sun Certified Programmer for Java 2 Platf... 02/15/2011
[Practice Test]   [Download Study Guide(PDF)]  [Update Exam]

310-035 - Exam Information
  • Description:310-035 Sun Certified Programmer for Java 2 Platform 1.4
  • Passing Score:75%
  • Practice Test - Number of questions:253 questions
  • Simulation Test - Number of questions:253 questions
  • Simulation Test Duration:41 minutes
  • Has explanations:Yes

Question of the day

Given: 1. public class Alpha{ 2. public static void main( string[] args ){ 3. if ( args.length == 2 ) { 4. if ( args.[0].equalsIgnoreCase("-b") ) 5. System.out.println( new Boolean( args[1] )); 6. } 7. } 8. } And the code is invoked by using the command: java Alpha -b TRUE What is the result?

Answer(s)

  1. true
  2. null
  3. false
  4. Compilation fails.
  5. The code runs with no output.
  6. An exception is thrown at runtime.
Correct Answer

true