Elance Exams Answers PDF file

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

Having the following code , what will be the result ? public class Animal { public void Walk() { Console.WriteLine("Animal is walking"); } } public class Dog : Animal { public new void Walk() { Console.WriteLine("Dog is walking"); } } void Main() { Animal cat = new Animal(); Dog dog = new Dog(); Animal adog = new Dog(); cat.Walk(); dog.Walk(); adog.Walk(); }

Animal is walking Dog is walking Animal is walking
Animal is walking Animal is walking Animal is walking
Animal is walking Dog is walking Dog is walking
Compiler error
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon