Home
Current Affairs January 2024

What is the correct answer?

4

Dim a() as Integer-{1,2,3,4}is a valid statement

A. True

B. False

Correct Answer :

A. True


Related Questions

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

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

/*1. Class C
2. public mustinherit sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The error is in line no.

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

We need multiple ErrorProviders from multiple controls.

A. True

B. False

What is the correct answer?

4

The name of the IDE window that allows you to see the hierarchical arrangement of the files in your project is

A. Server Explorer

B. Project Explorer

C. Solution Explorer

D. None of the above

What is the correct answer?

4

When a project is Built it creates a _______ and ________ file under Bin directory

A. .exe, .sln

B. .exe, .dll

C. .dll, .sln

D. .exe, .ocx

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

Dim a() as Integer-{1,2,3,4}is a valid statement

A. True

B. False

What is the correct answer?

4

A DataSet can be updated only when the connection is open

A. True

B. False

What is the correct answer?

4

Data from DataSet is accessed using34

A. Binding Obejct

B. BindContext Object

C. BindingContext Object

D. EndCurrentEdit Object

What is the correct answer?

4

This view is not present in VB.NET

A. Project Explorer

B. Class View

C. Resource View

D. Server Explorer

What is the correct answer?

4

To print use

A. PrintDialog1.Print()

B. PrintDocument1.Print()

C. Printer1.Print()

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

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

A. True

B. False

What is the correct answer?

4

In Class, Me.Show and MyClass.Show are same (Show is method name)

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

If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property

A. DefaultButton

B. AcceptButton

C. DialogResult

D. CancelButton

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

_________ actually updates the values in a DataSet permanently

A. OleDataAdapterq1.update(DataSet1,"emp")

B. DataSet1.Merge(DataSet1)

C. DataSet1.AcceptChanges()

D. DataSet1.Update()

What is the correct answer?

4

Finally is fired only when error occurs

A. True

B. False

What is the correct answer?

4

Using OLEDB you can connect more than one table

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

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

To retrieve the default path of the project use

A. Application.Path

B. Application.DefaultPath

C. Application.StartupPath

D. Application.ProjectPath

What is the correct answer?

4

On error goto lbl is a

A. Structured error

B. Unstructured error

What is the correct answer?

4

PasswordChar property of a TextBox can accept " " (space) as the password char

A. True

B. False

What is the correct answer?

4

Images can be loaded from

A. Images.FromFile

B. BitMap.FromFile

C. System.FromFile

D. Both a and b

What is the correct answer?

4

Using MyBase you can call base class

A. Constructor

B. Method

C. Variables

D. All of the above

What is the correct answer?

4

A user wants that custom colors are visible when the Color Dialog Box is first Opened. What should he do?

A. Set AllowFullOpen to True

B. Set AnyColor to True

C. Set Open to True

D. Set FullOpen to True

What is the correct answer?

4

In TreeView to collapse all the nodes of a selected node ___________ method is used

A. CollapseAll

B. Collapse

C. Any one of the above

D. None of the above