21. What is the result of the following code in Java?
Integer num = null;
int result = num + 5;
Integer num = null;
int result = num + 5;
22. In Java, which of the following is an example of autounboxing?
23. What happens if you try to unbox a `null` reference in Java?
24. In Java, what is the result of the expression `new Integer(5) == 5`?
25. Which of the following is an example of autoboxing in Java?
26. In Java, which method can be used to perform autounboxing?
27. What is the result of the following code in Java?
Integer x = 1000;
Integer y = 1000;
System.out.println(x.equals(y));
Integer x = 1000;
Integer y = 1000;
System.out.println(x.equals(y));
28. In Java, what is the result of the expression `new Integer(5).equals(5)`?
29. What is the result of the following code in Java?
Integer num1 = 100;
Integer num2 = 100;
System.out.println(num1 == num2);
Integer num1 = 100;
Integer num2 = 100;
System.out.println(num1 == num2);