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.
You might also like to view...
An append query changes the data values in one or more fields for all records that meet specific criteria
Indicate whether the statement is true or false
Text that is formatted with options common to many applications such as Word and PowerPoint is called ________ text
A) enriched B) ASCII C) ANSI D) rich