Which of the following statements are true?

a. Use the private modifier to encapsulate data fields.
b. Encapsulating data fields makes the program easy to maintain.
c. Encapsulating data fields makes the program short.
d. Encapsulating data fields helps prevent programming errors.


a. Use the private modifier to encapsulate data fields.
b. Encapsulating data fields makes the program easy to maintain.
d. Encapsulating data fields helps prevent programming errors.

Computer Science & Information Technology

You might also like to view...

Which of the following allows windows to quickly be resized by clicking the title bar of the window and dragging it to the top, sides, or middle of the screen?

A. Drag B. Task View C. Snap D. Shake

Computer Science & Information Technology

If you cannot run a program that requires Internet access, what might you need to change in your firewall?

What will be an ideal response?

Computer Science & Information Technology

____ are made up of related records.

A. Rows B. Fields C. Columns D. Tables

Computer Science & Information Technology

A bag contains four red, five green, and four blue balls. One ball is drawn from the bag. What is the probability that the ball is not blue?

What will be an ideal response?

Computer Science & Information Technology