Exam 11: Classes and Objects

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

The Return privateVariable instruction is entered in ____.

Free
(Multiple Choice)
4.9/5
(46)
Correct Answer:
Verified

C

All the words in a method name should be verbs.

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

False

Using a Public property to assign a value received from a program ensures that the Set block is processed.

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

True

A text box is created from the TextBox ____.

(Multiple Choice)
4.8/5
(40)

In the following instruction, Room is a(n) ____. Dim bedroom As New Room

(Multiple Choice)
4.8/5
(31)

The Class statement begins with the keywords Private Class.

(True/False)
4.8/5
(41)

Constructors must be Function procedures.

(True/False)
4.9/5
(32)

You create a Public property using a Property ____.

(Multiple Choice)
4.7/5
(36)

The Get statement begins with the keywords Start Get.

(True/False)
4.8/5
(51)

In the Set statement, a parameter is enclosed in ____.

(Multiple Choice)
4.8/5
(42)

The Set statement begins with the keyword ____.

(Multiple Choice)
4.9/5
(32)

The Class statement ends with the keyword(s) ____.

(Multiple Choice)
4.7/5
(42)

The ____ privateVariable instruction directs the computer to return the contents of the Private variable.

(Multiple Choice)
4.9/5
(39)

A ____ is a method whose instructions the computer processes, automatically, each time an object is created from the class.

(Multiple Choice)
4.8/5
(35)

A variable that is declared with the ____ keyword can be used only by the class in which it is defined.

(Multiple Choice)
4.8/5
(32)

The code contained in the ____ block allows an application to retrieve the contents of the Private variable associated with the property.

(Multiple Choice)
4.7/5
(31)

A ____ initializes the class's variables.

(Multiple Choice)
4.9/5
(37)

By convention, the first letter of each word in a method name should be capitalized.

(True/False)
4.8/5
(31)

When a property is declared using the ____ keyword, it can be accessed by any application that uses an object created from the class.

(Multiple Choice)
4.9/5
(38)

By convention, most programmers capitalize the first letter in a class name.

(True/False)
4.9/5
(38)
Showing 1 - 20 of 50
close modal

Filters

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