Before you can generate random numbers in Visual Basic, you first need to create a ________.
A. Random object
B. Random container
C. Random control
D. Random string
Answer: A
You might also like to view...
Answer the following statements true (T) or false (F)
1) The finally block is executed only if no error was reached in the try block. 2) Resource de-allocation should be done explicitly in the finally block. 3) There can be no code in between try/catch/finally blocks. 4) The Message property of an exception is what is displayed to the user should that exception be thrown. 5) Stack unwinding is the process that attempts to locate an appropriate catch handler for an uncaught exception.
Suppose this is embedded in an otherwise correct and complete program. Which version of f() will be called?
Suppose class D is derived from class B, and class B has a public member function whose declaration is virtual void f();. Suppose class D has its version of the function, void f(). Here is a function definition and an invocation. ``` void g( B& b) { // other code b.f(); // other code }; g( dObject ); ``` a) D::f() b) B::f() c) This is illegal. You can’t pass a D object argument for a B reference parameter.
The optional ____ keyword in the syntax of the ReDim statement tells the computer to keep the current array values when the size of the array changes.
A. Keep B. Protect C. Save D. Preserve
After creating a gradient rectangle like the one in the accompanying figure, you can use the ____ Tool to select the rectangle and display its anchor points.
a. Subselection
b. Selection
c. Pen
d. Anchor