Exam 3: Using Methods, Classes, and Objects

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Match each term with the correct statement below. -Included within the method declaration parentheses

(Multiple Choice)
4.8/5
(32)

Which is more important: the order in which you place methods' bodies, or the order in which you call methods? Please explain.

(Essay)
4.8/5
(36)

A unique identifier is most likely used as a ____ key in a database.

(Multiple Choice)
4.9/5
(43)

Normally, you declare constructors to be ____________________ so that other classes can instantiate objects that belong to the class.

(Short Answer)
4.8/5
(45)

A method's identifier must be more than one word, must have no embedded spaces, and cannot be a Java keyword.

(True/False)
4.9/5
(42)

Match each term with the correct statement below. -The combination of the method name and the number, types, and order of arguments

(Multiple Choice)
4.9/5
(34)

The ____ method executes first in an application, regardless of where you physically place it within its class.

(Multiple Choice)
4.8/5
(36)

Match each term with the correct statement below. -An application or a class that instantiates objects of another prewritten class

(Multiple Choice)
4.7/5
(46)

Parentheses in a method declaration contain parameters that are funneled into the method.

(True/False)
4.8/5
(42)

Access specifiers are also called access ____________________.

(Short Answer)
4.8/5
(41)

Assigning ____ to a field means that no other classes can access the field's values.

(Multiple Choice)
4.8/5
(46)

The arguments in a method call are often referred to as ____.

(Multiple Choice)
4.8/5
(35)

An application's main() method must have a void return type.

(True/False)
4.9/5
(41)

A major advantage of a method is that it is easily reusable. What does it mean to reuse a method and what are the advantages of doing so?

(Essay)
4.8/5
(34)

Which of the following is NOT an initial value assigned to an object's data field by a default constructor?

(Multiple Choice)
4.9/5
(39)

Match each term with the correct statement below. -Data components of a class

(Multiple Choice)
4.9/5
(30)

Match each term with the correct statement below. -Are called class methods

(Multiple Choice)
4.7/5
(32)

Why are hidden implementation methods often referred to as existing in a black box?

(Essay)
4.7/5
(41)

When an application is run, the method that must be executed first must be named ____.

(Multiple Choice)
4.8/5
(38)

Describe how you can use multiple arguments in a method.

(Essay)
4.8/5
(51)
Showing 41 - 60 of 68
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)