If a class represents an amount of money (in US currency like $9.99), then the amount (like $9.99) could reasonably be stored in
a. A member variable of type double.
b. Two member variables of type int.
c. A string of characters (like "9.99").
d. None of the above.
a. A member variable of type double.
b. Two member variables of type int.
c. A string of characters
You might also like to view...
What will be the value of x[8] after the following code is executed?
``` final int SUB = 12; int[] x = new int[SUB]; int y = 20; for(int i = 0; i < SUB; i++) { x[i] = y; y += 5; } ``` a. 50 b. 55 c. 60 d. 65
The Show As default for a recurring event is ____.
A. Busy B. Tentative C. Free D. Out of Office
What type of learner learns best through hands-on approaches?
A. visual B. auditory C. kinesthetic D. spatial
The location within which a name is recognized without qualification.
A. Defined name B. Range C. Scope