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 / rajiv sairam

Static variable can be modified, only a single copy is maintained for the objects,it stays in memory until we delete it manually,accessing is directly with the class name


Static method can access only static data with the class name, no need of creating objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain try and catch keywords in java?

1205


What is the difference between preemptive scheduling and time slicing?

1067


When is the arraystoreexception thrown?

1025


Can you make a constructor final?

1040


Can the interface be final?

1007


What is a boolean structure?

1089


How many types of flags are there?

1017


What are assembly attributes?

1008


What is the difference between a window and a frame in java programming?

1139


Can constructor be static or final?

1089


Can we override private method in java?

1089


Write a program to find the greatest of three numbers in java?

1005


Can we use a default constructor of a class even if an explicit constructor is defined?

1106


Explain the difference between protected and default access.

997


What is array list in java?

1078