Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
string class static method _________ is similar to method Console.Write, but returns a formatted string rather than displaying a string in a console window.
|
Format
|
|
If a method contains a local variable with the same name as one of its class’s fields, the local variable _________ the field in that method’s scope.
|
hides
|
|
The _________ is called by garbage collector just before it reclaims an object's memory.
|
destructor
|
|
If a class declares constructors, the compiler will not create a(n) _________.
|
default constructor
|
|
An object’s _________ method can be called implicitly when an object appears in code where a string is needed.
|
ToString
|
|
Composition is sometimes referred to as a(n) _________ relationship.
|
has-a
|
|
A(n) _________ variable represents classwide information that is shared by all the objects of the class.
|
static
|
|
The _________ states that code should be granted only the amount of access needed to accomplish its designated task.
|
principle of least privilege
|
|
Declaring an instance variable with keyword _________ or specifies that the variable is not modifiable.
|
readonly
|
|
A(n) _________ consists of a data representation and the operations that can be performed on the data.
|
abstract data type (ADT).
|
|
The public methods of a class are also known as the class’s _________or _________ .
|
public services, public interface.
|