(a) and (d) are correct.
(b) and (c) are incorrect.
Can someone explain why a and d are correct ?
Always believe in yourself
Joined: Jun 05, 2009
1. Create the PathMatcherExample.java source code and compile.
2. Run the code and verify the console output as: false
3. Substitute the code at STATEMENT A with: String str = "dir/f2";
4. Compile and run the code and verify the console output as: true
Please see the Java SE 7 API documents, for the import classes in the PathMatcherExample.java for details.