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 the difference between static and non-static
variables?

Answer Posted / ravikiran

static variables are class variables and the values remains
same fr the whole class
nonstatic variables are of two kinds
global variables:are the variables which defines variables
which can be accesible over the whole class
local variables:the scope of local variables is with tin
the method only

Is This Answer Correct ?    29 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does void * mean?

978


According to java operator precedence, which operator is considered to be with highest precedence?

1053


explain local datetime api in java8?

980


Is java se free?

904


what is meant by Garbage collection?

1051


List down the methods and interfaces of collection class in java.

947


What is static synchronization?

1053


What do you understand by java virtual machine?

1140


Why map is used in java?

994


Can a class have 2 constructors?

862


What is difference between adapter class and listener?

984


Tell some latest versions in JAVA related areas?

939


What is Enum in Java?

1235


Explain parallel processing in java8?

1177


Is void a keyword in java?

977