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 difference between static method and static
variable?

Answer Posted / n.siddardh

static variable copy is available to every object in the
memory if we change one value in an object there no effect
inother objects,and if we declare a method as static that
will be executed by the JVM like main method
The execution of JVM
1.static block
2.static methods
3.Instance methods

Is This Answer Correct ?    7 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If goto and const is reserve words than why it is not work in java?

1923


Explain where variables are created in memory?

970


What does method mean?

978


What is lambda in java?

999


What is the difference between choice and list?

1052


How do you print array in java?

929


What is the basic concepts of OOPS?

1141


What happens if constructor is private?

978


What Is Query Throttling in java?

964


What is a lock or purpose of locks in java?

978


Explain the difference between jvm and jre?

989


Explain wrapper classes in java?

946


Why use string handling in Java?

996


What are the different ways of creating thread?

965


What is the difference between private & public & friendly classes?

1028