ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you declare static variable and how it is declared 
and what is its lifetime?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you declare static variable and how it is declared and what is its lifetime?
Answer
# 1
Hi,

Static variables are declare through the 

Static Var1 as Integer

The scop of the Var1 is within the module where its is 
defined
 
Is This Answer Correct ?    4 Yes 9 No
Pratik
 
  Re: How do you declare static variable and how it is declared and what is its lifetime?
Answer
# 2
Static variables retains their values even after the 
termination of the procedure in which it is declared.
 
Is This Answer Correct ?    6 Yes 7 No
Sonia
 
 
 
  Re: How do you declare static variable and how it is declared and what is its lifetime?
Answer
# 3
Static variable are declared within the procedure.
and it preserves the value of variable.whether is 
called 10000 times.no problem.
 
Is This Answer Correct ?    3 Yes 0 No
Firoz Ahmed
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
What are the objects in asp.net and tell the purpose of those objects Ascent2
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina  3
how to get sum of two numbers in vb.net?  2
how to restore database using vb.net? TCS4
what are Fixed memory leaks and threads locking problems.  1
What is versioning in .NET?  2
Disadvantages of vb ? Digital-GlobalSoft4
what is the base class of .net?  6
linex will support dot net? Phoenix-Technologies4
how to connect crystal report with vb.net ? Patni6
what is the dif b/w panel and groupbox. Ksb3
if user enters 1 or 2 or any other number in digit format in next textbox it should show the answer in word reading like if enters 12 answer should be twelve  4
Is VB.NET object oriented? What are the inheritances does VB.NET support ? Digital-GlobalSoft11
What is the Difference between CLR & CTS?  2
What are the similarities between class and structure? Ksb5
how to connect crystal report with vb.net ? Patni2
What is "Friend" in VB.Net?  2
What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....  5
1234 123 12 1 how to design above pic in vb.net? ABC2
hi dear ! thank u for replying to my question regarding adding third party software in vb.net .My next question is that i haven created Data base in SQL server 2000 for Library and has connected that with VB and VB.net separately but it only works on single computer and when i takes my software to another computer on same Network it does not work . Can any body help me what i do to solve. Regards!  1
 
For more VB.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com