In below sample code if we create a object of class2 which constructor will fire first

Q

In below sample code if we create a object of class2 which constructor will fire first?

✍: Guest

A
Public Class Class1
 Sub New()
 End Sub
End Class
Public Class class2
 Inherits Class1
 Sub New()
 End Sub
End Class

2007-10-23, 8473👍, 0💬