Filters
Question type

Study Flashcards

Match each term with the correct statement below. -Variables in the method declaration that accept the values from the actual parameters


A) return statement
B) header
C) instance variables
D) method’s signature
E) formal parameters
F) static method
G) data fields
H) parameter type
I) class user

J) A) and B)
K) A) and I)

Correct Answer

verifed

verified

When talking about inheritance, why do programmers use the phrase "is a"?

Correct Answer

verifed

verified

Expressing an is-a relationship is corre...

View Answer

Match each term with the correct statement below. -Variables you declare within a class, but outside of any method


A) return statement
B) header
C) instance variables
D) method’s signature
E) formal parameters
F) static method
G) data fields
H) parameter type
I) class user

J) D) and I)
K) E) and H)

Correct Answer

verifed

verified

A(n) ____ constructor is one that requires no arguments.


A) class
B) default
C) explicit
D) write

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

When creating a method that requires multiple parameters, why would a programmer need to understand a method's signature, and why must a method call match the called method's signature?

Correct Answer

verifed

verified

The line of code to ...

View Answer

Method names that begin with ____ and set are very typical.


A) next
B) call
C) read
D) get

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

What are the four components of a method header?

Correct Answer

verifed

verified

Optional access spec...

View Answer

Application classes frequently instantiate objects that use the objects of other classes.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 68 of 68

Related Exams

Show Answer