Home
Current Affairs January 2024

What is the correct answer?

4

If a Class in inherited, its constructor is inherited automatically and it is fired automatically

A. True

B. False

Correct Answer :

A. True


Related Questions

What is the correct answer?

4

DomainUpDown control is used only for strings and NumericUpDown for numbers.

A. True

B. False

What is the correct answer?

4

A Class can inherit both Class and Interface at a time

A. True

B. False

What is the correct answer?

4

A DataSet can hold multiple tables even if there are similar fields

A. True

B. False

What is the correct answer?

4

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

The EventLog's ________ method is used to write an entry to a log file

A. WriteLine

B. WriteEntry

C. Add

D. Append

What is the correct answer?

4

Get method is used to

A. Assign a value to an user control

B. Read value from an user control

C. Both of the above

D. None of the above

What is the correct answer?

4

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

What is the correct answer?

4

Two commands can be written in the same line using

A. :

B. ;

C. ,

D. .

What is the correct answer?

4

What cannot be done if the table has no primary key

A. Insert and Update

B. Update and Delete

C. Select and Delete

D. Insert and Select

What is the correct answer?

4

If a Label control's AutoSize property is set to True, can you resize the control

A. Yes

B. No

What is the correct answer?

4

Dim S as Integer=10
Text1=S
Msgbox(Text1.Text)

A. Will return error

B. Will return 10

C. Will return 0

D. Will return Null

What is the correct answer?

4

The SelectionMode property of a CheckedList Box can be set only to

A. One

B. MultiSimple

C. MultiExtended

D. None of the abvove

What is the correct answer?

4

The default location of the exe file of your solution is

A. ..../Project folder name

B. .../Project folder name/Bin

C. .../Project folder name/Debug

D. .../Project folder name/Debug/Bin

What is the correct answer?

4

A MsgBox can have maximum ___________ button(s)

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

DataSet can be used to connect to Crystal Report

A. True

B. False

What is the correct answer?

4

________ converts to long datatype

A. Clong

B. CLng

C. Lng

D. None of the above

What is the correct answer?

4

If Option Explicit is on then Dim i as Integer="10" will produce an error

A. True

B. False

What is the correct answer?

4

dim arr(10) as string,
the max index of the array is

A. 9

B. 10

C. Can be >10 also

D. None of the above

What is the correct answer?

4

A form can have only one default button

A. True

B. False

What is the correct answer?

4

The Apply button automatically appears of the Font Dialog Box is opened

A. True

B. False

What is the correct answer?

4

To make a button the default button, this property of the form must be set

A. DefaultButton

B. AcceptButton

C. DialogResult

D. None of the above

What is the correct answer?

4

To vertically arrange all forms in an MDI form use

A. Me.Layout(MdiLayout.TileVertical)

B. Me.MdiLayout(MdiLayout.TileVertical)

C. Me.LayoutMdi(MdiLayout.TileVertical)

D. Nothing is required because default is Vertical

What is the correct answer?

4

In OLEDB database can be accessed without using DataSet

A. True

B. False

What is the correct answer?

4

Finally is fired only when error occurs

A. True

B. False

What is the correct answer?

4

FolderBrowserDialog displays

A. File

B. Folder

C. Drives

D. b and c

What is the correct answer?

4

_________ and _____________ combines to make a KeyPress event

A. KeyUp, KeyDown

B. KeyEnter, KeyRelease

C. KeyDown, KeyRelease

D. KeyEnter, KeyUp

What is the correct answer?

4

A form can not call itself

A. True

B. False

What is the correct answer?

4

Structured and Unstructured exceptions can't be mixed

A. True

B. False

What is the correct answer?

4

Class cc
public _________ I as string
end class
Button1_Click
cc.I=100

A. Share

B. Shared

C. Global

D. Static

What is the correct answer?

4

/*1. Class C
2. public notoverridable sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The Error in Line No.

A. 2

B. 3

C. 4

D. No Error