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 / kutta

a variable declared inside a method is local to that method.
it can't be accessed outside the method. if a variable
declared in a class means its a global variable.if we
declare a variable with static keyword in a class means it
can be accessed by all the class.

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 static class

1120


When we should use serialization?

1025


What is an anonymous class in java?

1106


what is the purpose of using rmisecuritymanager in rmi?

972


Mention the default values of all the elements of an array defined as an instance variable.

987


What are different types of encoding?

1081


How do I run java on windows?

1176


How big is a 32 bit integer?

1044


When should I use stringbuffer?

1023


What is the default value of float and double datatype in java?

1015


What type of variable is gender?

991


Is a boolean 1 bit?

1078


What are the main differences between notify and notifyAll in Java?

1094


What does business logic mean?

997


What is the difference between Array and Hash Table?

1033