Exam 9: Object-Oriented Programming: Classes and Objects

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

The keyword _______ indicates that the method overrides an existing method with the same signature.

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

B

Primitive-type variables refer to objects in a Visual Basic app.

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

False

While shadowing,programmers could use the This keyword and the dot separator to access the instance variable.

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

False

The Me reference is used implicitly to refer to the instance variables,properties and methods of an object.

(True/False)
4.9/5
(42)

Each class you create becomes a new type that can be used to declare variables and create objects.

(True/False)
4.9/5
(44)

If you write the code Public Property Hour As Integer,the compiler would generate property code that would use the Private instance variable __________.

(Multiple Choice)
4.9/5
(30)

Me can be used to distinguish between a local variable and an instance variable that share the same name.

(True/False)
4.9/5
(38)

A primitive-type variable can store exactly one value at a time,whereas one object can contain many individual pieces of data.

(True/False)
4.7/5
(39)

Failure to release resources when the program is no longer using them can cause .

(Multiple Choice)
4.8/5
(30)

A class can be used to create an instance of the class called a(n)________.

(Multiple Choice)
4.8/5
(32)

To access a Private Shared class member when no objects of the class exist,a Public Shared method or property must be provided.

(True/False)
4.9/5
(30)

Shared class members are available only after the first object of that class is created

(True/False)
4.8/5
(32)

Shared class variables have:

(Multiple Choice)
4.8/5
(37)

Programmers are encouraged to use method-parameter names that that are the same as instance variable names.

(True/False)
4.9/5
(31)

Each object of a class has its own copy of all the instance variables of the class.

(True/False)
4.9/5
(45)

Value types normally represent single pieces of data.

(True/False)
4.9/5
(28)

Object initializers (which initialize an object and its properties)use what keyword?

(Multiple Choice)
4.8/5
(36)

A constructor method is invoked each time an object of the class is instantiated.

(True/False)
4.8/5
(38)

Only certain objects have a Me reference.

(True/False)
4.8/5
(29)

A ReadOnly property provides only a __________ accessor.

(Multiple Choice)
4.9/5
(31)
Showing 1 - 20 of 80
close modal

Filters

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