Development
© examsiri.com
Question : 5 of 17
Marks:
+1,
-0
Given:
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.)
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.)
Go to Question: