Monday 24 December 2012

SET NO .1 QUESTION NO. 3: OCJP 1.6 DUMPS,SCJP DUMPS


OCJP DUMPS|SCJP DUMPS|SCJP(OCJP) 1.6 CERTIFICATION QUESTIONS


Given:


11.  public interface Status {

12.  /* insert code here */ int MY_VALUE = 10;

13.      }



Which three are valid on line 12? (Choose three.)

A.  final

B.  static

C.  native

D.  public

E.  private

F.  abstract

G.    protected 


ANSWER IS:>       ABD







Previous Articles:





If you want latest ocjp dumps write your email in top right corner section..


If You have any query related about questions.
 please 
give your valuable comments...

Friday 7 December 2012

Question 2


Given:


10. public class Bar {
11.static void foo(int...x) {
12. // insert code here
13. }
14. }
Which two code fragments, inserted independently at line 12, will allow
the class to compile? (Choose two.)
A. foreach(x) System.out.println(z);
B. for(int z : x) System.out.println(z);
C. while( x.hasNext()) System.out.println( x.next());
D. for( int i=0; i< x.length; i++ ) System.out.println(x[i]);


Check your Answer: BD