Which modifier is used to specify that a method cannot be used outside a class?

A. public
B. abstract
C. static
D. private

Answer: D

Computer Science & Information Technology

You might also like to view...

Which of the following tools is best suited to complete repetitive tasks in Excel?

A) Macros B) Themes C) Styles D) Templates

Computer Science & Information Technology

If the execution of a program is initiated by a user at a terminal or PC to meet the user’s problem-solving needs, the program is said to operate in a(n)

a) batch processing environment b) offline processing environment c) online processing environment d) on-demand processing environment

Computer Science & Information Technology