What is the output of the following program?
public class Program
static void Main(string args)
A a = new A();
public class A
Which leads to infinite execution.
we will get compilation error, since a constructor can't be called itself
Back To Top