Filters
Question type

Study Flashcards

Objects that are instances of a class cannot be stored in an array.

Correct Answer

verifed

verified

When you have identified the information that a class is responsible for knowing, then you have identified the class's ____________.


A) methods
B) names
C) fields and/or properties
D) objects

Correct Answer

verifed

verified

A(n) ____________ is a method that is automatically executed when an object is created.


A) actuator
B) loader
C) constructor
D) executable

Correct Answer

verifed

verified

Every form in a Visual C# project is defined by a class.

Correct Answer

verifed

verified

In your application's code, the first step in displaying a form is to create an instance of the form's class.

Correct Answer

verifed

verified

The get accessor has an implicit parameter called value.

Correct Answer

verifed

verified

Constructors cannot be overloaded, which means a class can have only one constructor.

Correct Answer

verifed

verified

When a field's value is dependent on other data and the field is not updated when its related data changes, we say the field has become ____________.


A) archaic
B) stale
C) obsolete
D) frozen

Correct Answer

verifed

verified

If you were developing an application for a local zoo, which one of the following nouns would not apply to the animal class?


A) lions
B) tigers
C) bears
D) zookeepers

Correct Answer

verifed

verified

Once the classes have been identified in a problem description, the next task is to identify each class's responsibilities.

Correct Answer

verifed

verified

Once you have added a form to a project, you can place any controls on it and write the necessary event handlers for the controls.

Correct Answer

verifed

verified

Which one of the following statements declares a variable named fox that references an instance of the Animal class?


A) new Animal fox() ;
B) Animal fox = new Animal() ;
C) Animal fox;
D) Animal new(fox) ;

Correct Answer

verifed

verified

By using the ____________ access modifier, a class can hide its data from code outside the class.


A) public
B) private
C) const
D) ref

Correct Answer

verifed

verified

When you have identified the actions that a class is responsible for doing, you have identified its ____________.


A) event handlers
B) methods
C) fields and/or properties
D) actions

Correct Answer

verifed

verified

The process of matching a method call with the correct version of a method is known as ____________.


A) pairing
B) signing
C) binding
D) matching

Correct Answer

verifed

verified

Class fields are almost always declared private in order to protect them from accidental corruption.

Correct Answer

verifed

verified

When designing a class, you should take care that all data is stored in a field, especially any calculated data.

Correct Answer

verifed

verified

When you call a method and pass a class instance as an argument, the parameter variable becomes a(n) ____________ to the object.


A) copy
B) reference
C) address
D) indicator

Correct Answer

verifed

verified

When a class's fields are hidden from outside code, its data is vulnerable to accidental corruption.

Correct Answer

verifed

verified

In Visual Studio, you can easily switch your view to another form by double-clicking the form's entry in the ____________ window.


A) Solution Explorer
B) Code
C) Designer
D) Data Sources

Correct Answer

verifed

verified

Showing 21 - 40 of 89

Related Exams

Show Answer