Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is static variable and static method?

Answer Posted / bijeesh.p

A static variable ,also reffered to as a class variable
which exists across instances of a class.
By default,all variables are created as instance
variables(A variable related to a single instance of a
class.Each time an instance of a class is created,the
system creates one copy of the instance variables related
to that class).To make a class variable,you must explicitly
declare the variable static.

Is This Answer Correct ?    16 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesn't the java library use a randomized version of quicksort?

1031


How do you call a reference in java?

1035


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2152


What is comparable and comparator interface? List their differences

1149


What do you understand by the term string pool?

1068


Can we override compareto method?

987


Describe the process as to how substring() methodology mechanisms in java.

1199


What are the different data types in java?

1047


Difference between string s= new string (); and string s = "abv";?

1255


What do you understand by looping in java? Explain the different types of loops.

1088


Tell us something about an iterator.

1006


When throw keyword is used?

1111


What is byte code and why is it important to java’s use for internet programming?

1195


Why string objects are immutable in java?

1086


Is java a compiler?

1019