What does option Explicit means?

Answers were Sorted based on User's Feedback



What does option Explicit means?..

Answer / aftab kashif

This means that all variables must be declared before being
put to use.
i.e. they must be exlicitly declared

Is This Answer Correct ?    33 Yes 3 No

What does option Explicit means?..

Answer / nishant ranjan

When we use option explicit then we must have to declare
all the variables.

Is This Answer Correct ?    18 Yes 2 No

What does option Explicit means?..

Answer / 123

It is used to trap the undeclared variables in the modules

Is This Answer Correct ?    8 Yes 2 No

What does option Explicit means?..

Answer / srinivas shetty

if we want the complier to check for the undeclared
variables then option explicit can be used.

shetty

Is This Answer Correct ?    7 Yes 3 No

What does option Explicit means?..

Answer / shreya sondur

The Option Explicit statement checks in the module for
usage of any undeclared variables and reports an error to
the user.

Is This Answer Correct ?    4 Yes 0 No

What does option Explicit means?..

Answer / shivnath

When we have to use a variable in a program, Option Explicit
tell us to declare them must else the program will break by
the compiler in run mode. It is an indicator only.

Is This Answer Correct ?    4 Yes 1 No

What does option Explicit means?..

Answer / raju joshi

All the variable which are used witing the program need to
be declared when you use this option

Is This Answer Correct ?    4 Yes 5 No

What does option Explicit means?..

Answer / antony akkara j.

if we declaring "option explicit" - then we have to declare each variable datatype what is exactly ?. So we can trap undeclared variable(s). But in "option Implicit" - case will be straight opposite.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset I am not sure of the options given. So please let me know the answer if it is something else.

4 Answers   Infosys,


How can you determine performance standards?

0 Answers  


what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control

1 Answers  


Which language is used in visual basic?

0 Answers  


What is the maximum size of form to hold the controls?

3 Answers   Tech Mahindra,






How would you find out the value property in Slider Bar Control?

1 Answers  


To find the current recordposition in data control.

0 Answers  


How do you zoom in visual basic?

0 Answers  


If we can make more than one MDI Form in VB then How? I need to make 2 MDI Forms in my project.

2 Answers   HST, Infosys,


How do I create a new form in visual basic?

0 Answers  


How can you check Beginning and End of the file?

2 Answers  


How do I tell when an application executed using the SHELL command is finished?

0 Answers  


Categories