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 3748

Option A

A.    4321
 

Option B

B.    0000
 

Option C

 
C.    An exception is thrown at runtime.
 

Option D

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

Correct Answer D
Explanation


Question ID 3749

Given:
3.    import java.util.*;
4.    public class Mapit {
5.    public static void main(String[] args) {
6.    Set<Integer> set = new HashSet<Integer>();
7.    Integer i1 = 45;
8.    Integer i2 = 46;
9.    set.add(i1);
10.    set.add(i1);
11.    set.add(i2); System.out.print(set.size() + " ");
12.    set.remove(i1); System.out.print(set.size() + " ");
13.    i2 = 47;
14.    set.remove(i2); System.out.print(set.size() + " ");
15.    }
16.    }
What is the result?

 

Option A

A.    2 1 0
 

Option B

B.    2 1 1
 

Option C

C.    3 2 1
 

Option D

D.    3 2 2
 

Option E

E.    Compilation fails.
 

Option F

F.    An exception is thrown at runtime. 
 

Correct Answer B
Explanation

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