Exam 9: Advanced Java Topics

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

Dynamic binding is also known as ______.

(Multiple Choice)
4.8/5
(39)

In general,a class's data fields should be declared as ______.

(Multiple Choice)
4.9/5
(43)

When is a method in a subclass said to override a method in the superclass?

(Essay)
4.8/5
(32)

Is it legal for a subclass of an abstract class not to implement all of the methods it inherits? Briefly explain.

(Essay)
4.8/5
(36)

A base class is a class that inherits the members of another class.

(True/False)
4.9/5
(36)

A subclass cannot add new members to those it inherits from the superclass.

(True/False)
4.9/5
(37)

Java packages provide a way to group related ______ together.

(Multiple Choice)
4.8/5
(47)

______ is the ability of a variable name to represent,during program execution,instances of different but related classes that descend from a common superclass.

(Multiple Choice)
4.8/5
(30)

Which of the following is NOT true about packages?

(Multiple Choice)
4.9/5
(32)

Which of the following is true about an abstract class?

(Multiple Choice)
4.7/5
(34)

A package and the directory that contains all the classes in the package must have the same name.

(True/False)
4.8/5
(37)

Name 3 important operations that an iterator object can perform.

(Essay)
5.0/5
(34)

The class which inherits the members of another class is known as the ______.

(Multiple Choice)
4.8/5
(37)

A subclass that fails to implement all of the abstract methods of its superclass must be declared as a(n)______ class.

(Multiple Choice)
4.7/5
(39)

A subclass can contain its own version of an inherited method.

(True/False)
4.9/5
(32)

Inheritance should not be used to implement a has-a relationship.

(True/False)
4.8/5
(31)

Clients of a class can directly access the protected members of that class.

(True/False)
4.8/5
(42)

Containment is another name for a(n)______ relationship.

(Multiple Choice)
4.9/5
(37)

A(n)______ is a class that is used to provide access to another class that contains many objects.

(Multiple Choice)
4.9/5
(33)

The class from which another class is derived is known as the ______.

(Multiple Choice)
5.0/5
(36)
Showing 41 - 60 of 60
close modal

Filters

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