Exam 11: Advanced Object-Oriented Programming Features

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

​Prior to the introduction of generics, one way to write reusable code was to use the ____  data type for instance data members.

(Multiple Choice)
4.8/5
(36)

Enabling reuse of code through extending the functionality of classes describes ____ as it relates to object oriented development.

(Multiple Choice)
4.8/5
(37)

Polymorphic programming is associated with the ____________. You do not have to know how the method goes about doing its work. All you have to know is what arguments to send, if any, and what you expect to be accomplished when the object finishes its work.

(Short Answer)
4.8/5
(39)

Classes can have a "has a" relationship. This is a concept called ____ or aggregation.

(Multiple Choice)
4.8/5
(38)

Which keyword instructs the compiler to infer the type of the variable from the expression on the right side of the initialization statement?

(Multiple Choice)
4.9/5
(31)

Classes that inherit from a base class are called ____________ classes.

(Short Answer)
4.9/5
(35)

Through ____________ the CLR determines which method to call at run time based on which object calls the method.

(Short Answer)
4.7/5
(30)

Adding an abstract modifier to a class prohibits other classes from deriving from that class.

(True/False)
4.8/5
(37)

____________ is an object oriented feature that packages data attributes and behaviors into a single unit, thus hiding implementation details.

(Short Answer)
4.9/5
(41)

Packaging data attributes and behaviors into a single unit so that implementation details can be hidden describes ____ as it relates to object oriented development.

(Multiple Choice)
4.9/5
(36)

Replacing a method defined at a higher level creates a(n) ____.

(Multiple Choice)
4.8/5
(36)

For classes of animal and dog, animal would be considered the derived class.

(True/False)
5.0/5
(37)

You have experienced the use of polymorphism in programs through the use of the Main( ) method.

(True/False)
4.9/5
(35)

When you add the virtual keyword to a method heading, it ____.

(Multiple Choice)
4.9/5
(42)

The reserved word base, placed in the constructor heading before the opening curly brace, is used to indicate the base class constructor should be called.

(True/False)
4.8/5
(41)
Showing 61 - 75 of 75
close modal

Filters

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