subject

1. which of the following expressions evaluates multiplication first addition second and multiplication third
a. 2*3+4*5
b. (2*3)+(4*5)
c. 2*(3+4)*5
d. 2*(3+4*5)
2. after the following two statements, what is the value of j?
int i=10;
int j=10*i++;
a. 100
b. 101
c. 110
d. 111
3. consider the following code.
int x=1;
int y=2;
system. out. println ("the sum of x and y is" +x+y+".");
what would be the result of the last statement?
a. it would display the text, "the sum of x and y is 3."
b. it would display the text, "the sum of x and y is 12."
c. it would display a very large number, something similar to 442152118.
d. the statement would cause a compilation error.
(note: this is for java programming)

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:10, shimmerandshine1
When you reach a yield sign, yield to cross traffic and before you enter the intersection. a. flash your headlights b. wait for a signal c. wait five seconds d. wait for a safe gap
Answers: 1
image
Computers and Technology, 22.06.2019 13:30, AsiaDeas4078
Write lines of verse that rhyme to remember the following information: acid rain is a type of air pollution caused by chemicals in the air.
Answers: 1
image
Computers and Technology, 22.06.2019 21:30, mima851
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
image
Computers and Technology, 23.06.2019 07:30, emilyplays474
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
You know the right answer?
1. which of the following expressions evaluates multiplication first addition second and multiplicat...

Questions in other subjects:

Konu
Medicine, 10.03.2021 21:20