How should you complete the relevant code?

HOTSPOT
You are implementing a library method that accepts a character parameter and returns a string.
If the lookup succeeds, the method must return the corresponding string value. If the lookup fails,
the method must return the value “invalid choice.”
You need to implement the lookup algorithm.
How should you complete the relevant code? (To answer, select the correct keyword in each dropdown list in the answer area.)

HOTSPOT
You are implementing a library method that accepts a character parameter and returns a string.
If the lookup succeeds, the method must return the corresponding string value. If the lookup fails,
the method must return the value “invalid choice.”
You need to implement the lookup algorithm.
How should you complete the relevant code? (To answer, select the correct keyword in each dropdown list in the answer area.)

Answer:

Explanation:
http://msdn.microsoft.com/en-us/library/06tc147t(v=vs.110).aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Ravi

Ravi

switch case case default