What is the out put of the following codeMustInherit class MyFirstclassPublic Dim Num as IntegerPublic Sub New( I as integer) Num=iEnd SubEnd ClassClass Test Dim cls as New MyFirstclass( 100) Console.writeLine (cls.Num)End Class

A) Can not Create an Instance of MyfirstClass
B) MyFirstclass is created and 100 is assigned to Num variable
C) Runtime Error

Showing Answers 1 - 5 of 5 Answers

ashutosh

  • Jul 3rd, 2006
 

can u please explain why

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions