What is a static variable?

Answer Posted / glibwaresoftsolutions

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 do you mean by serialization and deserialization and it's use.

844


What are the parts of the visual basic control?

732


What is code security?

722


What are the advantages of vb.net and c#?

880


Can we use Vb.Net and C# language simultaneously in one .Net application?

798


Explain the difference between vb.net and c#, related to oops concepts?

718


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

2505


What is internal keyword in .net framework?

829


Explain the difference between datatable and dataset?

841


Can you please explain the difference between system.string and system.stringbuilder classes?

796


What is sorting in vb?

678


What is deep copy?

742


What is the differnce between managed code and unmanaged code?

763


What are the features of c# which are not present in vb.net?

855


What is the main use of a namespace?

774