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
After the class diagram is created,add the names of data members or fields and methods
using the_________________ section.
(Short Answer)
4.9/5
(84)
During the design phase,it is important to develop a(n)____________ illustrating what the desired final output should be.
(Short Answer)
4.9/5
(58)
Use a type prefix,such as C for class name.For example,a student class should be named CStudent.
(True/False)
4.8/5
(77)
Which of the following is NOT one of the inherited member methods of the object class?
(Multiple Choice)
4.9/5
(74)
In order to provide a new definition for the ToString( )method,____.
(Multiple Choice)
4.8/5
(62)
C# is an object-oriented language as such all the code that you write has to be placed in a(n)____________.
(Short Answer)
4.9/5
(77)
Accessors,mutators,and other instance methods are normally defined with what type of access modifier?
(Multiple Choice)
4.9/5
(81)
A private access modifier is always associated with data members,methods,and constructors of a class.
(True/False)
4.8/5
(83)
When you define a class,you can use ____ to display all public members of the class (once an object is instantiated).
(Multiple Choice)
4.8/5
(85)
Design your classes to be as flexible and full-featured as possible.One way to do this is to include multiple instance data members.
(True/False)
4.8/5
(92)
The body of the constructor methods consist primarily of ____________.
(Short Answer)
4.8/5
(90)
A property looks like a method because it directly represents a storage location.
(True/False)
4.7/5
(73)
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.9/5
(76)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)