public class Question { public static void main(String args[]) { String[] s = new String[2]; boolean[] b = new boolean[2]; for(int i=0;i<2;++i) System.out.print(s[i]+b[i]); } }
falsefalse
truetrue
nullfalsenullfalse
NullPointerException
double
public
MyClass
MyClass.java
main()
import
java.lang
package
java Question one two three
public class Question { static int i; public static void main(String args[]){ System.out.print(args[i]); } }
Question
null
0
class Question{ static String ThisIsATest; public static void main(String[] args){ String s = "\"" + ThisIsATest + "\""; System.out.println(s); } }
true
long
static
end