class Program { static void Main(string[] args) { B obj = new B(); Console.ReadKey(); } } abstract class A { public A() { Console.WriteLine("This is the A class"); //calc(); } public abstract void calc(); } class B : A { public B() { Console.WriteLine("This is the B class"); } public override void calc() { Console.WriteLine("This is the abstract methode"); } } Questions: 1. What will be printed on the console? 2. what will be printed to the console if we remove this "//" before the calc() in the contractor of class A;
Software Engineer C Net Interview Questions
7,077 software engineer c net interview questions shared by candidates
¿Que es un patrón de diseño? y da un ejemplo en dónde utilizaras un patrón de diseño.
OOPs concepts
SQL query on joins, n'th salary query. .net core questions
Have you handled any team in your career?
What is delegate, multicast delegate, relationship between event and delegate, SRP principal, DIP principal How to invoke action using different name in mvc action? Can we declare private method in controller? What is the use of declaring private method in controller? What are the action filters in MVC?
What is the difference between SingleorDefault and FirstorDefault in C#?
Hr round would you like to work without taking salary for 2 months?
will you work 8-5pm every day?
What are the different kinds of windows forms?
Viewing 1091 - 1100 interview questions