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 3659

Given:
5.    import java.util.*;
6.    public class SortOf {
7.    public static void main(String[] args) {
8.    ArrayList<Integer> a = new ArrayList<Integer>();
9.    a.add(1); a.add(5); a.add(3);
11.    Collections.sort(a);
12.    a.add(2);
13.    Collections.reverse(a);
14.    System.out.println(a);
15.    }
16.    }
What is the result?
 

Option A

A. [1,    2,    3,    5]

 

Option B

B. [2,    1,    3,    5]
 

Option C

C. [2,    5,    3,    1]
 

Option D

D. [5,    3,    2,    1]
 

Option E

E. [1,    3,    5,    2]

Correct Answer C
Explanation


Question ID 3660

Given
11.    public interface Status {
12.    /* insert code here */ int MY_VALUE = 10;
13.    } Which three are valid on line 12?
(Choose three.)
 

Option A

A.    final
 

Option B

B.    static
 

Option C

C.    native
 

Option D

D.    public
 

Option E

E.    private
 

Option F

F.    abstract
 

Correct Answer A,B,D
Explanation

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