Exam 9: Classes and Multiform Projects

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The name of a class's constructor is the same as the name of the class.

Free
(True/False)
4.7/5
(34)
Correct Answer:
Verified

True

Creating an instance of a form's class also displays the form on the screen.

Free
(True/False)
4.8/5
(45)
Correct Answer:
Verified

False

Constructors cannot accept arguments in the same way as other methods.

Free
(True/False)
4.9/5
(38)
Correct Answer:
Verified

False

The set accessor is executed anytime that a property is read.

(True/False)
4.9/5
(40)

An error will occur if you to try to assign a value to a read-only property.

(True/False)
4.9/5
(39)

If you write a class with no constructor whatsoever, the compiler provides a(n) ____________.

(Multiple Choice)
4.9/5
(37)

A class's constructor must always use the private access modifier.

(True/False)
4.9/5
(40)

A constructor that accepts arguments is known as a(n) ____________.

(Multiple Choice)
4.7/5
(34)

Classes are ____________ types.

(Multiple Choice)
4.8/5
(41)

When a ____________ is displayed, no other form in the application can receive the focus until the form is closed.

(Multiple Choice)
4.9/5
(40)

A special set of methods, known as ____________ work in conjunction with a private field.

(Multiple Choice)
4.7/5
(34)

To add a new form to a project, first click ____________ on the Visual Studio menu bar, and then select Add Windows Form... from the Project menu.

(Multiple Choice)
4.8/5
(38)

If you want to show a form in modeless fashion, call its ____________.

(Multiple Choice)
4.8/5
(42)

To make a property read only, omit the get accessor for the property.

(True/False)
4.9/5
(48)

When you create an object from a class, you use a reference variable to reference that object.

(True/False)
4.7/5
(38)

The private field, which is known as the property's ____________, holds any data that is assigned to the property.

(Multiple Choice)
4.9/5
(44)

Designing an object-oriented application is an iterative process.

(True/False)
4.9/5
(44)

When a value is assigned to a property, the property's ____________ is executed, and the value being assigned is contained in the value parameter.

(Multiple Choice)
4.8/5
(36)

If you wish to remove a form from a project and delete its file from the disk, first right-click on the form's entry in the Solution Explorer window, and on the pop-up menu, click ____________.

(Multiple Choice)
4.9/5
(38)

When working with multiple forms, use the ____________ to change the name of the Form1.cs file to something more meaningful.

(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 89
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)