1. Can you code like this?
System.out.println(pow(2,4)); // Math class is not written
instead of traditional
System.out.println(Math.pow(2,4)); // Math is written
Ans: Yes, it is possible from JDK1.5 version with a new feature known as static imports.
2. Can you use C-lang printf() in Java with all %d and %s etc options.?
Ans: Yes, it is possible from JDK1.5 version.
3. Can you use C-lang enums in Java?
Ans: Yes, it is possible from JDK1.5 version.