Programming Homework Help
C# Question
Question 1 (5 points)
The use of references to objects of preexisting classes as members of new objects is called:
Question 2 (5 points)
Composition is:
Question 3 (5 points)
A class’s __________ initializes members of that class.
Question 4 (5 points)
Instance variables or methods declared with the __________ modifier are accessible only in that class definition.
Question 5 (5 points)
In a method in which a parameter has the same name as an instance variable, using the this reference allows you to refer to:
Question 6 (5 points)
Composition is sometimes referred to as a(n) __________ relationship.
Question 7 (5 points)
A constructor CANNOT:
Question 8 (5 points)
The __________ of a class are also called the public services or the public interface of the class.
Question 9 (5 points)
Constructors:
Question 10 (5 points)
Having a this reference allows a(n):
Question 11 (5 points)
Object orientation uses classes to:
Question 12 (5 points)
Abstract Data Types:
Question 13 (5 points)
Which of the following should usually be private?
Question 14 (5 points)
Keyword __________ is used for constants whose values cannot be determined at compile time.
Question 15 (5 points)
Stacks are commonly referred to as __________ data structures.
Question 16 (5 points)
Which statement is FALSE?
Question 17 (5 points)
Every class inherits directly or indirectly from class:
Question 18 (5 points)
Which of the following describes a static variable?
Question 19 (5 points)
A __________ can be defined in a class to perform termination housekeeping on an object before the garbage collector reclaims the object’s memory.
Question 20 (5 points)
Which statement is FALSE?