Find output:
public class Demo
public static void main(String[] arr) {
Integer num1 100;
Integer num2 = 100;
Integer num3 = 500;
Integer num4 = 500;
if(num1--num2) {
System.out.println("num1 = num2");
}
else{
if(num3 num4){
System.out.println("num3 num4");
System.out.println("num3 = num4");
Choices:
a) num1 == num2
num3== num4
• b) num1 == num2
num3!= num4
c) num1 != num2
num3= num4
d) num1 != num2
num3 !=num4
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here