Important Questions [4]
- The extension of a Java source code file is ______.
- The keyword used to call package in the program:
- What is the output of the Java code given below? String color [ J = {"Blue", "Red", "Violet"}; System.out.println(color[2].length();
- Rewrite the following do while program segment using for: x = 10; y = 20; do { x++; y++; }while (x<=20); System.out.println(x*y);
