What is a static variable?

Answer Posted / hr@tgksolutions.com

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

Explain code security?

693


Explain the use of serialization and deserialization?

760


Explain an assembly?

721


What is strong typing and weak typing?

768


What is enumerator?

799


What are jagged arrarys ?

766


Name the tool which can convert visual basic old version to .net compatibility version?

731


What is late binding and early binding?

768


Explain jagged array in vb.net?

751


Explain the difference between web.config and machine.config and where it will be ?

702


What are the different types of a stream?

747


Explain strong name in .net assembly?

738


What are the different types of Lock available in Visual Basic?

852


How to store images in sql server database through vb.net?

708


What do you mean by option strict on?

875