Exam 8: Classes and Objects: a Deeper Look

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

Which of the following is false?

(Multiple Choice)
4.9/5
(37)

Which syntax imports all static members of class Math?

(Multiple Choice)
4.9/5
(35)

A constructor cannot:

(Multiple Choice)
4.7/5
(40)

A package is:

(Multiple Choice)
4.8/5
(41)

When implementing a method,use the class's set and get methods to access the class's ________ data.

(Multiple Choice)
4.8/5
(42)

Composition is sometimes referred to as a(n)________.

(Multiple Choice)
4.7/5
(44)

Which statement is false?

(Multiple Choice)
4.9/5
(38)

What happens when this is used in a constructor's body to call another constructor of the same class if that call is not the first statement in the constructor?

(Multiple Choice)
4.9/5
(38)

The static method ________ of class String returns a formatted String.

(Multiple Choice)
4.9/5
(42)

Which of the following should usually be private?

(Multiple Choice)
4.9/5
(44)

Which of the following statements is true?

(Multiple Choice)
4.8/5
(36)
Showing 21 - 31 of 31
close modal

Filters

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