Question: Which of the following symbols are metacharacters supported by the java.util.regex API?
A
B
C
D
.
B
\
C
@
D
#
Note: Not available
public class Test107 {
        public static void main(String[] args) {
                System.out.println(test());
        }
        private static int test() {
                return (true ? null : 0); 
        }
}public class Test93 {
        private int x = 0;
        public static void main(String[] args) {
                new Test93().test();
        }
        private int f(int x) { return ++x; }
        private int g(int y) { return x++; }
        private void test() {
                System.out.print( f(x)==f(x) ? "f" : "#" );
                System.out.print( g(x)==g(x) ? "g" : "#" );
        }
}public class Test89 {
        public static void main(String[] args) {
                T x = new T("X", null); x.start();
                T y = new T("Y", x); y.start();
                T z = new T("Z", y); z.start();
        }
}
class T extends Thread {
        private Thread predecessor;
        private String name;
        public T(String name, Thread predecessor) { 
                this.predecessor = predecessor; 
                this.name = name; 
        }
        public void run() {
                try {
                        Thread.sleep((int)(Math.random()*89));
                        System.out.print(name);
                } catch (InterruptedException ie) {
                        ie.printStackTrace();
                }
        }
}