AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-851





Question ID 3671

Given:
11.    class Converter {
12.    public static void main(String[] args) {
13.    Integer i = args[0];
14.    int j = 12;
15.    System.out.println("It is " + (j==i) + " that j==i.");
16.    }
17.    }
What is the result when the programmer attempts to compile the code and run it with the command java Converter 12?
 

Option A

A.    It is true that j==i.
 

Option B

B.    It is false that j==i.
 

Option C

C.    An exception is thrown at runtime.
 

Option D

D.    Compilation fails because of an error in line 13.
 

Correct Answer D
Explanation


Question ID 3672

Given:
11.    String test = "Test A. Test B. Test C.";
12.    // insert code here
13. String[] result = test.split(regex);
Which regular expression, inserted at line 12, correctly splits test into "Test A", "Test B", and "Test C"?
 

Option A

A.    String regex = "";
 

Option B

B.    String regex = " ";
 

Option C

C.    String regex = ".*";
 

Option D

D.    String regex = "\\s";
 

Option E

E.    String regex = "\\.\\s*";
 

Option F

F.    String regex = "\\w[ \.] +";
 

Correct Answer E
Explanation

Send email to admin@getfreedumps for new dumps request!!!