Exam 4: Creating Your Own Classes
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working with Files75 Questions
Exam 14: Working with Databases75 Questions
Exam 15: Web-Based Applications75 Questions
Select questions type
The keyword new is used as an operator to call constructor methods.
Free
(True/False)
4.9/5
(92)
Correct Answer:
True
Three of the contextual keywords associated with properties are get,set,and value.
Free
(True/False)
4.9/5
(85)
Correct Answer:
True
A class is normally associated with a(n)____,which often describes a person,place,or thing and is normally a noun.
(Multiple Choice)
4.9/5
(87)
All data types are initialized to 0 when an object is constructed.
(True/False)
4.9/5
(74)
The return type for constructors is always the type of the class.
(True/False)
4.9/5
(67)
The ____________ constructor does not have any parameters and normally has no body,just opening and closing curly braces.
(Short Answer)
4.7/5
(81)
Constructors differ from other methods in that constructors ____.
(Multiple Choice)
4.7/5
(74)
ToString( ),Equals( ),GetType( ),and GetHashCode( )are all methods of the object class.
(True/False)
5.0/5
(72)
To define a property to change a data member of a class include a ____ clause.
(Multiple Choice)
4.8/5
(64)
When you define the class,you describe its ____________,or characteristics or fields,in terms of data.
(Short Answer)
5.0/5
(76)
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
(87)
____ are special methods used to read the current state or value of an object member's data.
(Multiple Choice)
4.9/5
(81)
When you define the class,you describe its ____ in terms of data and its behaviors,or methods,in terms of what kinds of things it can do.
(Multiple Choice)
4.8/5
(76)
The ToString( )method of the Console class should be overwritten.
(True/False)
4.7/5
(80)
Constructors should be defined with a ____ access modifier.
(Multiple Choice)
4.8/5
(78)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)