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

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of threads are there in java?

993


What is a parameter in matrices?

982


What is a conditional statement explain with example?

961


What do you mean by exception handling in Java?

1204


What are selection structures?

936


What are the types of web technologies?

996


What is difference between hashset and hashmap?

1053


What advantage do java's layout managers provide over traditional windowing systems?

911


How do you generate random numbers in java?

956


What are thread priorities and importance of thread priorities in java?

1061


Explain the usage of this with constructors?

974


What is struts in java?

987


What is stored procedure. How do you create stored procedure ?

1890


What is == in java?

960


Is intellij better than eclipse?

1023