What is the output of the following code in Test class Class Myclass Dim Num as Integer Private Sub New (i as integer) Num=i End sub End class Class Test Sub Main() Dim c as Myclass C=New Myclass (10) End sub End Class
Num variable of Myclass is initialized to 10
Run Time Error
Compiler Error
StackOverflow Exception