Exam 9: Object-Oriented Programming: Classes and Objects

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

A Shared method has a Me reference.

(True/False)
4.8/5
(35)

Select the syntactically correct way to access a Public Shared class member.

(Multiple Choice)
4.7/5
(39)

Constructors that are Shared can be defined to initialize only Shared members.

(True/False)
4.7/5
(31)

How many classes are there in a program/app?

(Multiple Choice)
4.8/5
(25)

Visual Basic is known as a(n)__________ language because you can declare new class types as needed.

(Multiple Choice)
4.8/5
(40)

The _________ of a class are also called the public services or the public interface that the class provides to its clients.

(Multiple Choice)
4.8/5
(36)

What is the default value of a reference?

(Multiple Choice)
5.0/5
(45)

You can create new reference types.

(True/False)
4.8/5
(37)

The compiler provides a default constructor with __________ parameter(s)in any class that does not explicitly declare a constructor.

(Multiple Choice)
4.9/5
(38)

A(n)___________ is a special type of method that is used only when an object is created to initialize an object's data.

(Multiple Choice)
4.8/5
(35)

Which statements successfully swap the contents of an array at index 3 and index 4?

(Multiple Choice)
4.9/5
(35)

Constructors are implemented as Sub methods because they cannot return values.

(True/False)
4.8/5
(32)

If a variable is said to have block scope then that variable:

(Multiple Choice)
4.9/5
(39)

An object-creation expression creates a new object of the class specified to the right of New and calls the object's constructor.

(True/False)
4.7/5
(37)

Variables that are Shared have class scope.

(True/False)
4.9/5
(31)

A Shared variable represents method-wide information.

(True/False)
4.8/5
(36)

Within a class's scope,class members are immediately accessible only to certain methods of that class.

(True/False)
4.8/5
(30)

A constructor should return either True or False to determine if the object was initialized properly.

(True/False)
4.7/5
(33)

Which of the following is not a keyword used to declare a constant variable:

(Multiple Choice)
4.8/5
(45)

The Object Brower _____________.

(Multiple Choice)
4.9/5
(33)
Showing 21 - 40 of 80
close modal

Filters

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