Shared Flashcard Set

Details

C#
C# Advanced Level
10
Computer Science
Undergraduate 2
12/09/2011

Additional Computer Science Flashcards

 


 

Cards

Term
Static variable
Definition
a variable with one copy shared by all class objects
Term
Scope
Definition
 the portion of a program that can refer to an entity by its simple name
Term

Concrete

Definition

Classes from which objects can be instantiated are called _______ classes

Term

Base

Definition

Derived-class constructors can call base class constructors via the _______ keyword

Term

destructor

Definition

The ______ is called by the garbage collector before it reclaims an object's memory

Term
Method overloading
Definition
Methods of the same name can be declared in the same class, as long as they have different sets of parameters
Term
Method Signature
Definition
combination of the method's name, and the number, types and orders of its parameters
Term
pass by value
Definition

When an agrument is passed a copy of its value is amde and passed to the called function.

Changes to the copy do not affect orginal variable value

Term
passed by reference
Definition
variables store references to objects, so specifiying a reference type variable as argument passes the method a copy of the actual reference that refers to the object
Supporting users have an ad free experience!