Question 3

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

2 answers

11*(int) 0.25
This expression produces a value of type int.