Explain the use of option explicit?



Explain the use of option explicit?..

Answer / Babita Kumari

Option Explicit is used to prevent variables from being implicitly created. It helps to reduce errors, improve readability and maintainability of code, and makes sure that every variable is explicitly declared.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB.NET Interview Questions

Explain enumerator?

1 Answers  


when a program of vb.net is written in notepad it occupies always 1kb of memory why?

1 Answers  


Why do we use ansi keyword?

1 Answers  


Using VB, how can you change the Mouse Pointer?

1 Answers   CGI,


What is the DIfference between Friend and Protected Friend?

6 Answers   CTS, Sykes Enterprises, TCS,


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

1 Answers  


The default back end of the VB is

1 Answers   Hexaware,


Explain the difference between .dll extension and .exe extension files?

1 Answers  


ColumnMapping belongs to which namespaces?

1 Answers  


Explain global assembly cache (gac)?

1 Answers  


What is the relation between Garbage collector and finalize and destructor?

2 Answers   Kanbay,


Write a program that accepts an array of numbers, and two numbers (an element and a position in the array) and inserts the given element into nth position of the array.

2 Answers  


Categories