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 3816

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 3817

Given:
1.    public class BuildStuff {
2.    public static void main(String[] args) {
3.    Boolean test = new Boolean(true);
4.    Integer x = 343;
5.    Integer y = new BuildStuff().go(test, x);
6.    System.out.println(y);
7.    }
8.    int go(Boolean b, int i) {
9. if(b) return (i/7);
10. return (i/49);
11. }
12. }
What is the result?
 

Option A

A.    7
 

Option B

B.    49
 

Option C

C.    343
 

Option D

D.    Compilation fails.
 

Option E

E.    An exception is thrown at runtime.
 

Correct Answer B
Explanation

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