CSC 351 - Chapter 12 Flashcards
1
Q
Object Oriented Programming Language Features
A
- abstract data types
- inheritance
- polymorphism
2
Q
Inheritance
A
- allows new classes to be defined in terms of existing ones
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
4
Q
Kinds of Variables
A
- class variables
- instance variables
5
Q
Kinds of Methods
A
- class methods
- instance methods
6
Q
Polymorphic Variable
A
- able to reference objects of the class and objects of its descendants
7
Q
Abstract Class
A
- includes at least one virtual method
- cannot be instantiated
8
Q
Multiple Inheritance
A
- allows a new class to inherit two or more classes