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
You might also like to view...
Comments display in Slide Show mode
Indicate whether the statement is true or false
You would use Word's ________ tool to trim the edges of a picture that you do not want displayed
Fill in the blank(s) with correct word