Java Package
© examsiri.com
Question : 14 of 16
Marks:
+1,
-0
Given:
Which of the following will be included in the output String s? (Choose all that apply.)
class TKO {
  public static void main(String[] args) {
   String s = "-";
   Integer x = 343;
   long L343 = 343L;
   if(x.equals(L343)) s += ".e1 ";
   if(x.equals(343)) s += ".e2 ";
   Short s1 = (short)((new Short((short)343)) / (new Short((short)49)));
   if(s1 == 7) s += "=s ";
   if(s1 < new Integer(7+1)) s += "fly ";
   System.out.println(s);
  }
}Which of the following will be included in the output String s? (Choose all that apply.)
Go to Question: