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

a) By convention, method names begin with an uppercase first letter, and all subsequent
words in the name begin with a capital first letter.
b) An import declaration is not required when one class in a package uses another in the same package.
c) Empty parentheses following a method name in a method declaration indicate that the method does not require any parameters to perform its task.
d) A primitive-type variable can be used to invoke a method.
e) Variables declared in the body of a particular method are known as instance variables
and can be used in all methods of the class.


a) False. By convention, method names begin with a lowercase first letter and all subse- quent words in the name begin with a capital first letter.
b) True.
c) True.
d) False. A primitive-type variable cannot be used to invoke a method—a reference to an object is required to invoke the object’s methods.
e) False. Such variables are called local variables and can be used only in the method in which they’re declared.

Computer Science & Information Technology

You might also like to view...

The __________ object passed to a mouse event handler contains information about the mouse event that was raised.

a) EventHandler b) MouseEventHandler c) MouseEvent d) EventArgs

Computer Science & Information Technology

PowerPoint presentations can be edited in the Slide pane

Indicate whether the statement is true or false

Computer Science & Information Technology

Most user support staff members receive on-the-job training and continuing education.

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

Computer Science & Information Technology

A(n) _________, a construction tool, is an interactive tool that helps in designing a custom interface, creating screen forms, and handling data entry format and procedures.?

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

Computer Science & Information Technology