1.
Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. Which term is used to describe this object-oriented concept?
2.
You create an object of type ANumber. The class is defined as follows. What is the value of _number after the code is executed?
3.
You need to allow a consumer of a class to modify a private data member. What should you do?
4.
You are designing a class for an application. You need to restrict the availability of the member variable accessCount to the base class and to any classes that are derived from the base class. Which access modifier should you use?
5.
You are creating an application that presents users with a graphical interface in which they can enter data. The application must run on computers that do not have network connectivity. Which type of application should you choose?
6.
You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software. Which type of application should you choose?
7.
The elements of an array must be accessed by:
8.
Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
9.
You execute the following code. What will the variable result be?
10.
The purpose of the Catch section in an exception handler is to: