Question 1
class Main {
public static void main(String args[]) {
int t;
System.out.println(t);
}
}
Question 2
class Test {
public static void main(String[] args) {
for(int i = 0; 0; i++)
{
System.out.println(\"Hello\");
break;
}
}
}
Question 3
class Test
{
public static void main(String[] args)
{
Double object = new Double(\"2.4\");
int a = object.intValue();
byte b = object.byteValue();
float d = object.floatValue();
double c = object.doubleValue();
System.out.println(a + b + c + d );
}
}
Question 4
There are 4 questions to complete.