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

1) By convention, method names begin with a lowercase first letter and all subsequent
words in the name begin with a capital first letter.
2) A property’s get accessor enables a client to modify the value of the instance variable associated with the property.
3) All instance variables are initialized by default to null.
4) Empty parentheses following a method name in a method declaration indicate that the method does not require any parameters to perform its task.
5) The number of arguments in the method call must match the number of required parameters in the method declaration’s parameter list.


1) False. By convention, method names begin with an uppercase first letter and all subsequent words in the name begin with an uppercase first letter.
2) False. A property’s get accessor enables a client to retrieve the value of the instance
variable associated with the property. A property’s set accessor enables a client to
modify the value of the instance variable associated with the property.
3) False. Numeric simple-type instance variables are initialized to 0, bool simple-type
instance variables are initialized to false and instance variables of all other types are
initialized to null.
4) True.
5) True.

Computer Science & Information Technology

You might also like to view...

To search for a word that begins with "ar" you would enter ________

A) ar* B) ar# C) ar! D) ar?

Computer Science & Information Technology

Quick Start fields can be added with a single click

Indicate whether the statement is true or false

Computer Science & Information Technology

A trainee who learns most effectively by seeing new material, reading about it, taking notes, working through a self-guided tutorial, is a(n) ____________________ learner.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

____ protects content creators against unauthorized use of their work.

A. Trademark B. Public domain C. Fair use D. Copyright

Computer Science & Information Technology