Consider the statement:
int anInt = Integer.parseInt("649");
You can tell that parseInt() is a(n) ____ method because you use it with the class name and not with an object.

A. programmer-defined
B. instance
C. static
D. immutable


Answer: C

Computer Science & Information Technology

You might also like to view...

Method getSelectedIndex of class JComboBox returns:

a. the index of the selected item in the JComboBox. b. the selected item in the JComboBox, as a String. c. the index of the previously selected item. d. None of the above.

Computer Science & Information Technology

How is background color defined in a Cascaded Style Sheets (CSS) file??

A. ?@bgcolor "color"; B. ?@background="color"; C. ?background: color; D. ?background-color: color;

Computer Science & Information Technology

The web server at Terry’s company recently was attacked by multiple computers. The attack overwhelmed the company’s web servers and caused the web servers to crash.   What type of attack occurred?

A. Botnet B. Spyware C. Zero-day D. DDoS

Computer Science & Information Technology

________ software allows managers to create and track a sophisticated plan in order to achieve a variety of goals.

A. CRM B. CAD C. Virtualization D. Project management

Computer Science & Information Technology