Which of the following statements about the Java 2D API is true?

a. A Graphics2D object is instantiated to draw Java 2D figures.
b. Class Graphics2D is a subclass of class Graphics.
c. To access Graphics2D capabilities, cast the Graphics reference passed to paintComponent to a Graphics2D reference.
d. All of the above are true.


d. All of the above are true.

Computer Science & Information Technology

You might also like to view...

Given the declaration

char next_char; which of the following assignment statements assigns the letter A to the variable next_char? a. nextChar = A; b. nextChar = "A"; c. nextChar = 'A'; d. nextChar (A); e.'A' = nextChar;

Computer Science & Information Technology

The term podcast is derived from the _____.

A. ?iPod B. ?podge craft C. ?web of "pods" or connections that visitors used to podcast sites can create D. ?acronym for Point of Delivery

Computer Science & Information Technology

You cannot add CSS styles to a div tag.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When using the Bing Image Search box, you can find various images that can be used under ________, which allows users to share and use their photos as long as the author is not profiting or selling the images

A) Microsoft Licensing B) Creative Commons C) Intellectual Property D) Free Information Act

Computer Science & Information Technology