Given Graphics object graph, which statement can you use to change the pen color to red?

A. graph.setColor(Color.red);
B. graph.setPen(Color.red);
C. setForeground(red);
D. graph.getRed();


Answer: A

Computer Science & Information Technology

You might also like to view...

Import options are listed on Access's _____ tab.

A. EXTERNAL DATA B. EXPORT DATA C. IMPORT DATA D. DATABASE TOOLS

Computer Science & Information Technology

Implement the following integer functions:

a) Function celsius returns the Celsius equivalent of a Fahrenheit temperature. b) Function fahrenheit returns the Fahrenheit equivalent of a Celsius temperature. c) Use these functions to write a program that prints charts showing the Fahrenheit equivalents of all Celsius temperatures from 0 to 100 degrees, and the Celsius equivalents of all Fahrenheit temperatures from 32 to 212 degrees. Print the outputs in a neat tabular format that minimizes the number of lines of output while remaining readable.

Computer Science & Information Technology

As you develop your animation, the number of frames can grow very rapidly, as well as the number of layers.

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

Computer Science & Information Technology

A __________ is an organized collection of data.

a) row b) database c) data reader d) primary key

Computer Science & Information Technology