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

static variables are classes variables not instance
variables .They are instantianted only once for a
class.They are initialised at class load time.
Static method can be referenced with the name of the name
of the particular object of that class. That's how the
library methods like System.out.println works.

Is This Answer Correct ?    268 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integer size in java?

944


Where is singleton pattern used?

932


What are the changes in java.io in java 8 ?

966


Write a program to print 15 random numbers using foreach of java 8?

888


Describe the term diamond problem.

971


What are the topics in advance java?

909


What are the different types of sorting in java?

930


What is the purpose of lambda expressions?

997


How to change the priority of thread or how to set the priority of thread?

988


What is a "pure virtual" member function?

1041


What is immutable data?

992


What is the difference between super class & sub class?

1079


Explain spliterator in java8?

1005


What is sorting in java?

929


What is a double?

1039