Development

© examsiri.com
Question : 2 of 17
 
Marks: +1, -0
Given:
1. public class Commander {
2.   public static void main(String[] args) {
3.    String myProp = /* insert code here */
4.    System.out.println(myProp);
5.   }
6. }
and the command line:
java -Dprop.custom=gobstopper Commander

Which two, placed on line 3, will produce the output gobstopper? (Choose two.)
Go to Question: