Exam 9: Classes and Multiform Projects

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

When you have multiple forms in a project, you should give each form a meaningful name that describes its purpose.

(True/False)
4.7/5
(37)

The ____________ is the set of real-world objects, parties, and major events related to the problem.

(Multiple Choice)
5.0/5
(40)

When a class contains a method that uses the public access modifier, the method can be called from code outside the class.

(True/False)
4.8/5
(37)

If you try to pass a property to a ref or an out parameter, an error occurs.

(True/False)
4.9/5
(38)

A ____________ can be read, but it cannot be modified.

(Multiple Choice)
4.9/5
(42)

Once a form has been created, it cannot be removed from a Visual Studio project.

(True/False)
4.9/5
(32)

When you pass a property as an argument to a method, there is one restriction: Properties can only be passed ____________.

(Multiple Choice)
4.8/5
(24)

When an accessor contains only a single return statement, many programmers prefer to write the entire accessor in one line of code.

(True/False)
4.8/5
(30)

A class's ____________ are statements that define the class's fields, properties, and methods.

(Multiple Choice)
4.8/5
(41)

A ____________ is a special type of class member that allows an object to store and retrieve a piece of data.

(Multiple Choice)
4.7/5
(29)

Which one of the following statements calls the Jump method of the Animal class using a reference variable named fox?

(Multiple Choice)
4.8/5
(29)

The same rules for naming variables apply to naming classes.

(True/False)
4.8/5
(31)

When a method is ____________, it means that multiple methods in the same class have the same name but use different types of parameters.

(Multiple Choice)
4.8/5
(34)

You should never declare a class in its own source file.

(True/False)
4.7/5
(28)

If you wish to remove a form from a project but you do not want to 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
(36)

When you want to create a List object, you follow List with the name of a class inside angled brackets, and it specifies that the List can hold only objects of that class type.

(True/False)
4.9/5
(31)

A method's ____________ is not part of the signature.

(Multiple Choice)
4.7/5
(36)

In a property definition, the ____________ is automatically created by the compiler, and its data type is the same as that of the property.

(Multiple Choice)
4.8/5
(35)

The ____________ is a method that returns the property's value.

(Multiple Choice)
4.8/5
(35)

Each object created from a class is called a(n) ____________ of the class.

(Multiple Choice)
4.9/5
(43)
Showing 61 - 80 of 89
close modal

Filters

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