Suppose that sum and num are int variables and sum = 5 and num = 10. After the statement sum += num executes, ____.
A. sum = 0
B. sum = 5
C. sum = 10
D. sum = 15
Answer: D
Computer Science & Information Technology
You might also like to view...
This is a network where there is a dedicated channel for establishing the communications link.
What will be an ideal response?
Computer Science & Information Technology
If you are using Java 5.0 (1.5) or above rewrite the Student class to use generics with ArrayList and List.
What will be an ideal response?
Computer Science & Information Technology
A(n) ____________________ font attempts to duplicate as many features of a specific font as possible.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
When two domains have similar policy requirements, what can be done to match group policies?
What will be an ideal response?
Computer Science & Information Technology