ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Microsoft Related >> Visual Basic
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1444)
 VB.NET interview questions  VB.NET Interview Questions (151)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (33)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
Question
what is Option Implicit
 Question Submitted By :: Visual-Basic
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Option Explicit has 2 values ON and OFF
deafult value is ON
-Option Explicit means - All the variables should be
declared before its use.
Else it shows error..it is a good practice to use this..
 
Is This Answer Correct ?    11 Yes 1 No
Anna
 
Answer
# 2
Option Explicit means - All the variables should be
declared before its use.
Else it shows error
 
Is This Answer Correct ?    9 Yes 0 No
Rupa
 
 
 
Answer
# 3
can i able to change my vb6 form style 
Is This Answer Correct ?    3 Yes 0 No
Dinesh
 
Answer
# 4
it should be noted that implicit declaration is by default
you can change implicit deceleration to explicit deceleration
by typing "option explicit"
bt vice verse is not true
ie.. you cannot write "option implicit" in the code
it will raise error
 
Is This Answer Correct ?    3 Yes 0 No
Prashant Verma
 
Answer
# 5
Instance of specific copy of a class with its own settings
for the properties defined in that class. Note: The
implicity defined variable is never equal to nothing.
 
Is This Answer Correct ?    3 Yes 1 No
Senthilg
 
Answer
# 6
option explicit means declare variable name before use it,
if we not give variable name that can show error .
 
Is This Answer Correct ?    3 Yes 1 No
Shital
 
Answer
# 7
suppose we have declare X as a character.
now if we use x instead of X(capital letter) accidentally
then vb will not raise any error because x get declared as
variant(a default data type) implicitly
option implicit is used for that
bt if we want vb not to declare implicitly then we use
Option explicit
ie.. the vb will raise error
 
Is This Answer Correct ?    2 Yes 0 No
Prashant Verma
 
Answer
# 8
Option Explicit is set to On, to declare the variable
compulsarily.
if u set it to off, the user who is going to read your
coding won't find it easy to know what type of variable it
stores. i.e int, float, string, var, etc.,
 
Is This Answer Correct ?    3 Yes 2 No
Dhanasekar
 
Answer
# 9
Option Explicit On
-> x=X+1 'error

Option Explicit Off
-> x=X+1 'no error


option explicit off = option implicit (don't need to write that)
 
Is This Answer Correct ?    1 Yes 0 No
Arka
 
Answer
# 10
Variable declaretion is not required before use. 
Is This Answer Correct ?    0 Yes 0 No
Narendra Chauhan
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
Is it possible to call backend procedures with ADO control?   1
WHAT IS THE DIFFERENCE BETWEEN MESSAGE BOX & INPUT BOX ....?   7
what are the Differences between Modal and Modaless forms?   2
How many no of controls are there in form? Satyam 3
What are the new events in textbox that has been included in VB6.0   1
A standard exe contains a registered Active-X DLL. Now some error arise in the application but not in the standard exe , it is in the Active-X DLL. How do you find it out in which line no the error is?   1
what component is used in vb to link to the database? Satyam 2
which Property is used to count no. of items in a combobox?   1
What does Query_unload event do in VB? Why we need Form _unload event?   3
Why we need a MDI form? How can we make a form as a mdichild form? TCS 2
How to find size of the file. Which method or function is used to occomplish this?   1
What is a Component?   1
 
For more Visual Basic Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com