Given:
1. class Test {
2. public static void main(String args[]) {
3. String str = new String("Welcome");
4. // insert code here
5. }
6. }
Which, inserted at line 4, produces the output true?
Given that TestClass relies on classes in the someJar.jar file in /some/dir, which javac invocation will correctly compile TestClass in the current directory?
A Java programmer wants to develop a small application to run on mobile phones. Which Java edition (or editions) are required to develop the application?