| 70-316 Exam |
| 70-316 - Exam Information |
| 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)
MyBase.CalculateAirportTax();