Asked by br
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
1 point
2 + 2
Integer.parseInt("2")
2 + 2.0
7 / 3
11 * (int) 0.25
Answers
br
any body know ?
rage
it a and c
br
thanks
br
you where wrong
Anonymous
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
Khushi
2+2
7/3
7/3
Kriti
A and c
Abdelrhman
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
Ss
A and c
2+2 and 7/3
System.out.println(2+3+"bc");
Anonymous
System.out.println(2+3+bc) is 5bc.