Exam 4: Creating Your Own Classes

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

To design a class that is flexible and full-featured, ____.

(Multiple Choice)
4.7/5
(77)

C# is an object-oriented language as such all the code that you write has to be placed in a(n) ____________.

(Short Answer)
4.8/5
(82)

By abstracting out the attributes (data) and the behaviors (processes on the data), you can create a(n) ____________ to serve as a template from which many objects of that type can be instantiated.

(Short Answer)
4.7/5
(69)

A standard convention used by C# programmers is to use camel case style for property identifiers; Camel case style convention is also used for data member identifiers.

(True/False)
4.9/5
(73)

WriteLine("Value = {0:N0}", 12345.9032); What will be displayed from the above line?

(Multiple Choice)
4.8/5
(82)

C# is an object-oriented language. All the code for an application must be placed in a(n) ____.

(Multiple Choice)
4.9/5
(83)

Fields or data members are also called ____________.

(Short Answer)
4.8/5
(75)

Since the data members of the class are defined as private, their public property counterpart must be used to assign new values to the data members.

(True/False)
5.0/5
(85)

An object is like a class template. The object is used to define the structure for the different classes that are going to be of that type.

(True/False)
4.8/5
(72)

Constructors are methods.

(True/False)
4.7/5
(80)

To program an object-oriented solution begin by determining what ____ are needed in the solution.

(Multiple Choice)
4.7/5
(78)

Instance methods must have the static keyword in their heading.

(True/False)
4.8/5
(75)

A property looks like a method because it directly represents a storage location.

(True/False)
4.9/5
(86)

Variables declared in the Main( ) method are ____.

(Multiple Choice)
4.9/5
(71)

After a project has been created and a new class added to your application, you can use the ____________ Window in Visual Studio to create a class diagram.

(Short Answer)
4.8/5
(70)
Showing 61 - 75 of 75
close modal

Filters

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