Exam 11: Advanced Object-Oriented Programming Features

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

Software components often take the form of classes or collections of methods.

(True/False)
4.8/5
(78)

Constructors are defined with ____ access modifiers.

(Multiple Choice)
4.9/5
(94)

Which access modifier should be used to give derived classes direct access to change the parent member data.This access modifier does not allow classes that instantiate objects of the class to have access to change member data?

(Multiple Choice)
4.8/5
(71)

Abstraction provides a way to simplify complex problems by generalizing and then representing only essential features appropriate to the problem.

(True/False)
4.9/5
(84)

Determining which method to call at runtime based on which object invokes the method describes ____.

(Multiple Choice)
4.8/5
(78)

Class library components should be compiled using a Build option instead of Running the application.

(True/False)
4.8/5
(77)

Calls to the ToString( )method emphasize the use of ____.

(Multiple Choice)
4.9/5
(89)

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

(Short Answer)
4.8/5
(87)

The Unified Modeling Language (UML)notation for the interfaces specifies that the name of the Interface methods should appear in italics.

(True/False)
4.9/5
(86)

Multiple inheritance is not possible in C#;____ provides the closest work around to this because a class can implement multiple ____.

(Multiple Choice)
4.9/5
(78)

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

(Short Answer)
4.7/5
(85)

____________ allows you to create a general class and then define specialized classes that have access to the members of the general class.

(Short Answer)
5.0/5
(70)

Object-oriented development focuses on designing classes that can be reused.One way to ensure this reuse is through designing and building components that can be stored in a library and called on when needed.

(True/False)
4.7/5
(84)

All .NET languages support multiple inheritance.

(True/False)
4.8/5
(88)

The ____ keyword can be used to spread the definition of your classes over multiple files.

(Multiple Choice)
4.9/5
(83)

You cannot spread the definition of your classes over multiple files using the partial keyword.Partial classes are reserved for use by the IDE.

(True/False)
4.9/5
(79)

An overloaded method must have exactly the same signature as the method it is overriding.

(True/False)
4.9/5
(80)

A generic class is defined ____ on the class definition line.

(Multiple Choice)
4.7/5
(70)

When you have a method that has the same name in both the base and derived classes,use the keyword super to refer to the method in the base class.

(True/False)
4.9/5
(90)

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

(True/False)
4.8/5
(71)
Showing 21 - 40 of 75
close modal

Filters

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