Engineering Full Stack Apps with Java and JavaScript
Which of the given lines can be inserted at //1 of the following program?
public class TestClass{ public static void main(String[] args){ short s = 9; //1 } }
Select 2 options
A. Short k = new Short(9); System.out.println(k instanceof Short);
B. System.out.println(s instanceof Short);
C. Short k = 9; System.out.println( k instanceof s);
D. int i = 9; System.out.println(s == i);
E. Boolean b = s instanceof Number;
F. Short k = 9; Integer i = 9; System.out.println(k == i);
G. Integer i = 9; System.out.println( s == i );