70-316  Exam

Exam # of questions Description  Update
70-316 192 Microsoft 70-316 Developing Windows-based Applica... 02/15/2011
[Practice Test]    [Download Study Guide(PDF)]   [Update Exam]

70-316 - Exam Information
  • Description: Microsoft 70-316 Developing Windows-based Applications with Microsoft Visual C# .NET
  • Passing Score: 75%
  • Practice Test - Number of questions: 192 questions
  • Simulation Test - Number of questions: 192 questions
  • Simulation Test Duration: 41 minutes
  • Has explanations: Yes

Question of the day

You use Visual Studio .NET to create a Windows Form application used by hotel executives to book flights for hotel customers. Your application contains classes to calculate airport taxes based on regions and cities. These classes are defined in the following code segment. (Line numbers are included for reference only.) 01 Public Class Region { 02 Public Overridable CalculateAirportTax(){ 03 'Code to calculate tax goes here. 04 } 05 } 06 Public Class City : Region 07 { 08 Public Overrides CalculateAirportTax() { 09 'Insert new code. 10 } 11 } You need to add code to the CalculateAirportTax method of the City class to call the CalculateAirportTax method of the Region class. Which code segment should you add on line 9?

Answer(s)

  1. MyBase.CalculateAirportTax();
  2. CalculateAirportTax();
  3. Me.CalculateAirportTax();
  4. MyClass.CalculateAirportTax();
Correct Answer

MyBase.CalculateAirportTax();