CSC 351 - Chapter 12 Flashcards

1
Q

Object Oriented Programming Language Features

A
  • abstract data types
  • inheritance
  • polymorphism
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Inheritance

A
  • allows new classes to be defined in terms of existing ones
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Object Oriented Programming Concepts

A
  • abstract data types are classes
  • class instances are objects
  • class that inherits another is a subclass
  • class from which another is inherited is a superclass
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Kinds of Variables

A
  • class variables

- instance variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Kinds of Methods

A
  • class methods

- instance methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Polymorphic Variable

A
  • able to reference objects of the class and objects of its descendants
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Abstract Class

A
  • includes at least one virtual method

- cannot be instantiated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Multiple Inheritance

A
  • allows a new class to inherit two or more classes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly