Chapter2 Flashcards
A(n) __________ is a blueprint of an object.
class
A class that does not provide a complete implementation must be declared with the keyword \_\_\_\_\_\_\_\_\_\_
abstract
Classes that want to support comparison must implement the IComparable interface and
then provide a body for the __________ method.
CompareTo
You can use the __________ operator to check whether it is legal to cast one type to
another type.
is
Three main features of an object-oriented programming language are _________,
__________, and _ _________.
encapsulation, inheritance, polymorphism
You can use __________ to group related classes in order to reduce name collisions
namespaces
The __________ keyword refers to the current instance of a class.
this
A(n) __________ is a type that references a method
delegate
A(n) __________ is a value type, whereas a(n) __________ is a reference type
struct, class
You can use the \_\_\_\_\_\_\_\_\_\_ keyword to declare a member that belongs to the class itself rather than to a specific object
static