Exam 8: Console Input and Output

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

Override the clone method inherited in the Boots class created in number 12 above.

(Essay)
4.9/5
(33)

Derive a class named Tennis Shoes from the base class created in number 9 above.

(Essay)
4.9/5
(33)

Polymorphism refers to the ability to associate many meanings to one method through dynamic binding.

(True/False)
4.7/5
(40)

An abstract class is a class that has some methods without complete definitions.

(True/False)
4.8/5
(37)

The principals of object oriented programming include:

(Multiple Choice)
4.9/5
(44)

If you choose to use the method clone in your code,you must ___________ the clone method.

(Multiple Choice)
4.9/5
(41)

Describe the limitations of the copy constructor.

(Essay)
4.9/5
(34)

What is an abstract method?

(Essay)
4.9/5
(47)

What is polymorphism and how does it relate to late binding?

(Essay)
4.9/5
(33)

A method marked as final means the compiler uses ________ binding.

(Multiple Choice)
4.9/5
(37)

Assigning an object of a derived class to a variable of a base class is called:

(Multiple Choice)
4.8/5
(36)

Java allows an instance of an abstract class to be instantiated.

(True/False)
4.9/5
(37)

Why should the instanceOf operator be used in conjunction with downcasting?

(Essay)
4.9/5
(33)

The type of the variable naming an object determines which method names can be used in an invocation with that calling object.

(True/False)
4.8/5
(38)

Early binding enables the compiler to be more efficient.

(True/False)
4.8/5
(43)

__________ refers to the ability to associate many meanings to one method name by means of the late binding mechanism.

(Multiple Choice)
4.7/5
(39)

Derive a class named Boots from the base class created in number 9 above.

(Essay)
4.9/5
(42)

Write a decision statement to determine if an object should be downcast.

(Essay)
4.9/5
(40)

An abstract method serves as a placeholder for a method that must be defined in all derived classes.

(True/False)
4.9/5
(39)

You cannot create an object using a/an:

(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 43
close modal

Filters

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