hai
can any one explain the question
1. public class
Test {
2. public static void main(
String [] args) {
3. System.out.println(args.length > 4 &&
4. args[4].equals("-d"));
5. }
6. }
f the program is invoked using the command line:
java Test One Two Three -d
What is the result?
A. true
B. false
C. Compilation fails.
D. An exception is thrown at runtime.
by
velan vel