What is the correct answer?


Function abc() As String
Return 10
End Function

A. Will produce compilation error

B. Will produce runtime error

C. The function will execute normally

D. None of the above

Correct Answer :

A. Will produce compilation error

Related Questions

DataSet can be used to connect to Crystal Report Two commands can be written in the same line using The default Tab of a Tab Control is If a Form is Inherited from another Form and both Forms have certain codes… To display multiple columns in ListView the View property must be set… Function abc() As StringReturn 10End Function For the same class "Me" and MyBase" are same To redimension an array with its previous values intact use ___________… You create a UserControl having a TextBox and include that in a separate… In HelpProvider ___________ property is used to mention the help file… A Class can inherit both Class and Interface at a time To override Finalize function the scope of the function must be Set method is used to The default location of the exe file of your solution is In TreeView to get the node the mouse is pointing to, use Application.StartupPath actually points to You can assign a Main Menu to any control If Option Explicit is on then Dim i as Integer="10" will produce an error Dim S as Integer=10Text1=SMsgbox(Text1.Text) _________ and _____________ combines to make a KeyPress event To use HelpProvider, the following properties of the form needs to be… If an user-defined class have a user-defined event then, the class object… VB.NET supports Multi Level Inheritance If a Label control's AutoSize property is set to True, can you resize… This view pops up if "Ctrl+F1" is pressed In OLEDB database can be accessed without using DataSet In ADODB the _____________ property is used to connect to the table The default event handler of TextBox is If a form call another form and the caller form is closed through code,… Class ccpublic _________ I as stringend classButton1_Clickcc.I=100