Exam 9: Using Classes and Objects
Exam 1: A First Program Using C#40 Questions
Exam 2: Using Data39 Questions
Exam 3: Using Gui Objects and the Visual Studio Ide40 Questions
Exam 5: Looping40 Questions
Exam 6: Using Arrays40 Questions
Exam 7: Using Methods39 Questions
Exam 8: Advanced Method Concepts39 Questions
Exam 9: Using Classes and Objects39 Questions
Exam 10: Introduction to Inheritance40 Questions
Exam 11: Exception Handling39 Questions
Exam 12: Using Controls40 Questions
Exam 13: Handling Events41 Questions
Exam 14: Files and Streams40 Questions
Exam 15: Making Decisions40 Questions
Select questions type
What happens if you do not explicitly include an access specifier?
(Multiple Choice)
4.9/5
(30)
What are the set of attributes of an object's instance variable known as?
(Multiple Choice)
4.7/5
(38)
Where are the data components of a class that differ for each object stored?
(Multiple Choice)
4.9/5
(37)
What class access modifier is used to indicate that access is limited to another class to which the class belongs?
(Multiple Choice)
5.0/5
(37)
A GUI object, such as a Button, is represented as an object that cannot encapsulate any methods.
(True/False)
4.8/5
(45)
What reference is passed implicitly and invisibly to every instance method and property accessor?
(Multiple Choice)
4.8/5
(31)
The Sort() method accepts an array as a parameter and arranges its elements in descending order.What complication arises when you sort an array of objects? Explain how to use the IComparable interface to address this problem.
(Essay)
4.8/5
(42)
Classes that support simple data items each contain a method that provides the details of how items in the class compare to each other.What is the name of this method?
(Multiple Choice)
4.9/5
(34)
A member of a class that provides access to a field of a class is referred to as what?
(Multiple Choice)
4.7/5
(34)
You can overload an operator for a built-in data type.For example, you can change the meaning of + between two ints.
(True/False)
4.8/5
(41)
What class access modifier can be used to indicate that access to the class is limited to the class and to any classes derived from the class?
(Multiple Choice)
4.9/5
(44)
Using private fields within classes is an example of what feature found in all object-oriented languages?
(Multiple Choice)
4.9/5
(39)
What is another name used for instance variables in order to help distinguish them from other variables you might use?
(Multiple Choice)
4.8/5
(30)
Briefly explain how to create instance variables, and show how to define a private integer instance variable called idNumber within a class called Employee.
(Essay)
4.8/5
(35)
Showing 21 - 39 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)