Engineering Full Stack Apps with Java and JavaScript
Which of the following code snippets will print exactly 10?
1. Object t = new Integer(106);
int k = ((Integer) t).intValue()/10;
System.out.println(k);
2. System.out.println(100/9.9);
3. System.out.println(100/10.0);
4. System.out.println(100/10);
5. System.out.println(3 + 100/10*2-13);
Select 3 options
A. 1
B. 2
C. 3
D. 4
E. 5