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 3732

Given:
1.    package com.company.application;
2.    
3.    public class MainClass {
4.    public static void main(String[] args) {}
5.    }
And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass? (Choose two.)
 

Option A

A.    java MainClass if run from the /apps directory
 

Option B

B.    java com.company.application.MainClass if run from the /apps directory
 

Option C

C.    java -classpath /apps com.company.application.MainClass if run from any directory
 

Option D

D.    java -classpath . MainClass if run from the /apps/com/company/application directory
 

Option E

E.    java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
 

Option F

F.    java com.company.application.MainClass if run from the /apps/com/company/application directory
 

Correct Answer B,C
Explanation


Question ID 3733

Option A

A.    n = 100;
 

Option B

B.    i.setX( 100 );
 

Option C

C.    o.getY().setX( 100 );
 

Option D

D.    i = new Inner(); i.setX( 100 );
 

Option E

E.    o.setY( i ); i = new Inner(); i.setX( 100 );
 

Option F

F.    i = new Inner(); i.setX( 100 ); o.setY( i );
 

Correct Answer B,C,F
Explanation

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