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

1) By default, instance variables are not initialized.
2) Instance variables are required to be explicitly initialized before they’re
used in a program.
3) Making a class’s instance variables public and its methods private and
accessing those instance variables only through the class’s methods and properties facilitates debugging, because problems with data manipulations are localized to the methods (and properties).
4) An attempt by a method that’s not a member of a particular class to
access a private member of that class is a runtime error.


1) F
2) F
3) F
4) F

Computer Science & Information Technology

You might also like to view...

All of the following statements are TRUE about conjunctive functions EXCEPT:

A) The AND function requires all arguments to be TRUE. B) The NOT function results in the opposite or reverse of a logical statement. C) The OR function requires at least one of the arguments to be TRUE. D) The AND and OR functions cannot be used in the same IF function.

Computer Science & Information Technology

Assessment of digital evidence is typically done by analyzing small samples that preserve the totality of the evidence

Indicate whether the statement is true or false.

Computer Science & Information Technology

How much internal memory do mobile devices have?

a. Up to 8 GB b. Up to 32 GB c. Up to 16 GB d. Up to 64 GB

Computer Science & Information Technology

In the ____ search, the data in the array are arranged with the most probable search elements at the beginning of the array and the least probable at the end.

A. binary B. ordered list C. sentinel D. probability

Computer Science & Information Technology