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...


. Differentiate between instance and local variables.



. Differentiate between instance and local variables...

Answer / nashiinformaticssolutions

For instance, variables are declared inside a class, and the limited to only a specific object.
A local variable can be anywhere inside a method or a specific block of code. Also, the scope is limited to the code segment where the variable is declared.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the use of singleton class?

0 Answers  


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

0 Answers   Akamai Technologies,


How to prevent a field from serialization ?

2 Answers  


When does an object becomes eligible for garbage collection in java?

0 Answers  


What are thread safe functions?

0 Answers  


How can we avoid including a header more than once?

0 Answers   Fidelity,


Is java pass by value or pass by reference?

0 Answers  


Is overriding possible in java?

0 Answers  


How do you use nextline in java?

0 Answers  


What is string [] args?

0 Answers  


What is constructor and virtual function? Can we call a virtual function in a constructor?

0 Answers  


placement papaers of spring computing technology

0 Answers   Spring Computing Technologies,


Categories