Question: 1). Given the following int (integer) variables, a = 9, b = 10, c = 7, d = 2, evaluate the expression: (a * b

1). Given the following int (integer) variables, a = 9, b = 10, c = 7, d = 2, evaluate the expression: (a * b + c) / d 2). Given the following int (integer) variables, a = 5, b = 3, c = 34, d = 14, evaluate the expression: a * b + (c / d) 3). Which of the following Java literals have the data type double? Choose all that apply. 3f ' ' "true" "3.0" false true 1.23f -1.23 'a' 123 123.0 -3 4). Which of the following Java literals have the data type char? Choose all that apply. true 123 3.0 3.14f ' ' false "true" -3 "3.0" 3.14 'a' 3f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!