Section 1: Primitive Types & Variables

1.	What is the output of Sln(7 % 3 + 2 * 4);?

o	A) 7

o	B) 9

o	C) 10

o	D) 11

Answer: B) 9

Explanation: 7 % 3 = 1, 2 * 4 = 8, so 1 + 8 = 9.

________________________________________

Section 2: Using Objects

2.	Which method is used to compare two String objects for equality?

o	A) ==

o	B) .equals()

o	C) .compareTo()

o	D) .charAt()

Answer: B) .equals()

Explanation: == checks memory addresses, not content.

________________________________________
...
Solutions manual functional analysis Walter rudin 2nd Ed.
It is not the solution manual, but the text. Deceptive.....
|ACTUAL|relias dysrhythmia|basic a test |actual exam with questions and correct answers
very helpful thanks
|ACTUAL|relias dysrhythmia|basic a test |actual exam with questions and correct answers
100% accurate
COMPLETE Elaborated Test Bank for Operations Management 14th Edition By William J Stevenson