Java SE 6 Programmer Certified Professional (1Z0-851)
© examsiri.com
Question : 10 of 10
Marks:
+1,
-0
Given:
Which command-line invocation will produce the output found?
1. class x {
2. public static void main(String [] args) {
3. String p = System.getProperty("x");
4. if(p.equals(args[1]))
5. System.out.println("found");
6. }
7. } Which command-line invocation will produce the output found?
Go to Question: