What is the error in the following code? using System;using System.Collections.Generic;sealed class A { protected void Demo() { Console.WriteLine(The Demo is called); } } class B:A { static void Main(string[] args) { B a = new B(); a.Demo(); } }
Reveal answer
Fill a bubble to check yourself