Which of the following statements about the Graphics object is true?

A. The Graphics object is an argument to class Component’s repaint method.
B. The Graphics object is instantiated by the user.
C. The Graphics object is the argument to a lightweight GUI component's paintComponent method.
D. The Graphics class is abstract.
E. The Graphics object manages a graphics context.

a. A, C, E.
b. C, D, E.
c. A, B, D, E.
d. All are true.


b. C, D, E.

Computer Science & Information Technology

You might also like to view...

Which of the following program segments is equivalent to the program segment given below?

``` If Pay >= 500 Then Set TaxRate = 0.3 End If If (Pay >= 300) AND (Pay < 500) Then Set TaxRate = 0.2 End If If (Pay >= 100) AND (Pay < 300) Then Set TaxRate = 0.1 End If ``` a. ```If Pay > 100 Then Set TaxRate = 0.1 Else If Pay > 300 Then Set TaxRate = 0.2 Else If Pay > 500 Then Set TaxRate = 0.3 End If End If``` b. ```If Pay >= 500 Then Set TaxRate = 0.3 Else If Pay >= 300 Set TaxRate = 0.2 Else If Pay >= 100 Then Set TaxRate = 0.1 End If End If End If``` c. ```If Pay >= 500 Then Set TaxRate = 0.3 Else Set TaxRate = 0.2 If Pay > 100 Then Set TaxRate = 0.1 End If End If``` d. none of the above are equivalent to the given example

Computer Science & Information Technology

The _________ Act confers certain rights on individuals and obligations on credit reporting agencies.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The USB connector found on the motherboard is called a

A) Type A connector B) Type B connector C) Type C connector D) Type D connector

Computer Science & Information Technology

7. Using only a SBN destination,source,target, (subtract source from destination and branch to target on negative) instruction, implement the following primitives

a. MOVE X,Y ; copy the contents of memory location Y to location X b. ADD X,Y ; add the contents of memory location Y to location X c. IF (X ? 0)Y ? 2Y ; if the contents of location X are greater than zero, then Y? 2Y. SBN a,b,c is defined as: [a] = [a] ? [b]; if [a] ? 0, then branch to c.

Computer Science & Information Technology