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 difference between import system.data.sqlclient,system.data.oledb?

761


what is interface and when it is used?

2016


Why do you need Lock in Visual Basic?

856


Why should you use delegate?

672


Which classes a dll can contain?

730


Explain option explicit?

769


Explain managed code?

709


What are the different types of applications supported in .net (or) .net framework?

718


Name and explain some of the exclusive features which are present in vb?

742


What are the differences between c# and visual basic.net?

749


What is the top .net class that everything is derived from?

831


What is the use of errorprovider control?

770


Explain how does the xmlserializer work?

778


What is the importance of a Button control?

1084


Define naming convention?

796