What is a static variable?

Answer Posted / nashiinformaticssolutions

To share a variable or method within a class, use the static keyword. Static variables are those that, once defined, are created and shared by all objects at the class level in a single copy.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pre-jit?

731


What are the advantages of an assembly?

846


How do you call a stored procedure in Visual Basic?

805


What do you mean by serialization?

755


Explain code security?

710


Write a program to find all text files in a logical drive and return the count of the number of files?

2505


Is vb.net a programming language?

750


What are jagged arrays ?

752


What are the difference between structure and class?

787


What is the use of assembly?

774


Write a VB.Net console program to check whether a number is perfect or not.

7322


What is the significance of delegates. Where should they be used?

733


Explain the advantages of migrating to vb.net?

733


What are nested classes?

728


Name some of the features present in vb 2005?

772