Home
Current Affairs January 2024

What is the correct answer?

4

To override Finalize function the scope of the function must be

A. Private

B. Public

C. Protected

D. Static

Correct Answer :

C. Protected


Related Questions

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

Use a _________ statement to make Visual Basic object the default object for a set of enclosed Visual Basic statements.

A. With

B. Using

C. Import

D. Inherit

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

In TreeView to get the node the mouse is pointing to, use

A. GetNode

B. Node

C. GetNodeAt

D. SelectNode

What is the correct answer?

4

On error goto lbl is a

A. Structured error

B. Unstructured error

What is the correct answer?

4

Using ADODB multiple tables can be connected at a time

A. True

B. False

What is the correct answer?

4

We need multiple ErrorProviders from multiple controls.

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 call a buttons click event use

A. Button1.Click

B. Button1.PerformClick

C. Button1.Clicked

D. None of the above

What is the correct answer?

4

FolderBrowserDialog displays

A. File

B. Folder

C. Drives

D. b and c

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 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

To add controls at runtime use

A. Controls.New

B. Controls.AddNew

C. Controls.Add

D. Controls.AddItem

What is the correct answer?

4

InputBox by default returns ________ values

A. Integer

B. Byte

C. Double

D. String

What is the correct answer?

4

If nothing is selected in a combo box, its index value is

A. -1

B. 0

C. 1

D. Null

What is the correct answer?

4

/*1. OleDataAdapterq1.update(DataSet1,"emp")
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line

A. 2

B. 4

C. 3

D. No Error

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

If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

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

While handling keystrokes if e.Handled=True is set then Visual Basic

A. Will handle the key

B. Will not handle the key

C. Will send the key to Garbage collector

D. None of the above

What is the correct answer?

4

You create a UserControl having a TextBox and include that in a separate Form. Can you use all the properties of the TextBox in the UserControl from that Form?

A. Yes

B. No

What is the correct answer?

4

A thread can be started only once

A. True

B. False

What is the correct answer?

4

If MustOverride is used then ____________ is also a must.

A. Overridable

B. Inherits

C. MustInherit

D. None of the above

What is the correct answer?

4

In ListView the item that is currently selected is determined by

A. SelectedItem

B. Item

C. FocussedItem

D. GetSelected

What is the correct answer?

4

In reports ___________ property help to assign user-defined criteria

A. ReportSource

B. SectionFormula

C. Query

D. SelectionFormula

What is the correct answer?

4

A single OLEDBAdapter can have many DataSets

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

___________ is used to pass copies of a variable while __________ is used to pass address of a variable.

A. Byval, Byref

B. Byref, Byval

C. Any one of the above

D. None of the above

What is the correct answer?

4

Data from DataSet is accessed using34

A. Binding Obejct

B. BindContext Object

C. BindingContext Object

D. EndCurrentEdit Object