Development
© examsiri.com
Question : 17 of 17
Marks:
+1,
-0
Given two files:
If the current directory is test, and the file pkg/Kit.class is in KitJar.jar, which command line will produce the output bc ? (Choose all that apply.)
package pkg;
public class Kit {
  public String glueIt(String a, String b) { return a+b; }
}
import pkg.*;
class UseKit {
  public static void main(String[] args) {
   String s = new Kit().glueIt(args[1], args[2]);
   System.out.println(s);
  }
}
And the following sub-directory structure:
test
|--UseKit.class
|
com
|--KitJar.jarIf the current directory is test, and the file pkg/Kit.class is in KitJar.jar, which command line will produce the output bc ? (Choose all that apply.)
Go to Question: