Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

What is the result of the following code ? public static void Main() { Derived2 d = new Derived2(); Console.WriteLine(d.GetTempValue()); } public class BaseClass { public virtual int GetTempValue() { return 1; } } public class Derived1 : BaseClass { public sealed override int GetTempValue() { return 2 * base.GetTempValue(); } } public class Derived2 : Derived1 { public sealed override int GetTempValue() { return 2 * base.GetTempValue(); } }

Compiler error
1
2
4
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon