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

in case of static variables memory can be allocated only at once and these variables can access with help of class name but where as non static variables have memory can be allocated in separate locations.And these variables can access with help of object

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does opcode mean?

1167


What is the difference between length and size in java?

1029


What are loops in java?

1346


write a program that list all permutations of ABCDEF in which A appears before B?

2515


Is java still relevant?

1022


What is a constructor, constructor overloading in java?

1040


What does java ide mean?

1204


What is difference between == equals () and compareto () method?

1094


What is high level language in computer?

1062


What is maximum size of arraylist in java?

1082


What is meant by structural programming?

1064


Explain public static void main(string args[]).

1232


What is final method?

1115


What are the 3 types of loops in java?

1153


Explain what is encapsulation?

1135