Which of the following expressions produce a value of type int? Mark all that apply.
1 point
2 + 2
Integer.parseInt("2")
2 + 2.0
7 / 3
11 * (int) 0.25
12 answers
any body know ?
it a and c
thanks
you where wrong
2+2
Integer. Parselnt(2")
2+2.0
7/3
11*(int)0.25
Integer. Parselnt(2")
2+2.0
7/3
11*(int)0.25
2+2
7/3
7/3
A and c
2+2
Integer.parselnt("2")
2+2.0
7/3
11*(int)0.25
Integer.parselnt("2")
2+2.0
7/3
11*(int)0.25
A and c
2+2 and 7/3
System.out.println(2+3+"bc");
System.out.println(2+3+bc) is 5bc.