Which access modifier should you use?

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?A . InternalB . ProtectedC . PrivateD . PublicView AnswerAnswer: C

August 22, 2019 1 Comment READ MORE +

How should you configure an application to consume a Web service?

How should you configure an application to consume a Web service?A . Add the Web service to the development computer.B . Add a reference to the Web service in the application.C . Add a reference to the application in the Web service.D . Add the Web service code to the...

August 21, 2019 No Comments READ MORE +

How does a console-based application differ from a Windows Forms application?

How does a console-based application differ from a Windows Forms application?A . Console-based applications require the XNA Framework to run.B . Windows Forms applications do not provide a method for user input.C . Windows Forms applications can access network resources.D . Console-based applications do not display a graphical interface.View AnswerAnswer:...

August 19, 2019 No Comments READ MORE +

How should you call the Truck class implementation of the brake () method?

You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck class implementation of the brake () method?A . Vehicle. brake ();B . This. brake ();C . MyBase. brake();D . Truck....

August 18, 2019 No Comments READ MORE +

Which data type should you use?

You are creating a variable for an application. You need to store data that has the following characteristics in this variable: - Consists of numbers and characters - Includes numbers that have decimal points Which data type should you use?A . StringB . FloatC . CharD . DecimalView AnswerAnswer: A...

August 15, 2019 No Comments READ MORE +

The purpose of the Finally section in an exception handler is to:

The purpose of the Finally section in an exception handler is to:A . Execute code regardless of whether an exception is thrown.B . Conclude the execution of the application.C . Execute code only when an exception is thrown.D . Break out of the error handler.View AnswerAnswer: A Explanation: By using...

August 14, 2019 No Comments READ MORE +

Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:

Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:A . Analyzing requirementsB . PrototypingC . Software testingD . FlowchartingView AnswerAnswer: C

August 13, 2019 No Comments READ MORE +

Which line of code should you use to require a control to process on the computer that hosts the application?

You are creating an ASP. NET Web application. Which line of code should you use to require a control to process on the computer that hosts the application?A . defaultRedirect="ServerPage. htm"B . redirect="HostPage. htm"C . AutoEvencWireup="true"D . runat="server"View AnswerAnswer: D

August 13, 2019 No Comments READ MORE +

What is displayed when you attempt to access a Web service by using a Web browser?

What is displayed when you attempt to access a Web service by using a Web browser?A . a listing of methods that are available in the Web serviceB . a directory listing of the Web service's application structureC . an error page explaining that you have accessed the Web service...

August 12, 2019 No Comments READ MORE +

Which data structure should you use?

You need to create an application that processes data on a last-in, first-out (LIFO) basis. Which data structure should you use?A . QueueB . TreeC . StackD . ArrayView AnswerAnswer: C Explanation: A stack implements LIFO.

August 11, 2019 No Comments READ MORE +