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

Explain java heap space and garbage collection?

0 Answers  


Can you explain the Java thread lifecycle?

1 Answers  


Why non nested classes in java are not having marked as protected access specifier

2 Answers   Google,


Say any two properties in beans?

0 Answers  


What is the difference between Object and Instance?

5 Answers   TCS,


What is the purpose of the system class in java?

0 Answers  


What is a package?

2 Answers  


What is aggregation and composition ?

1 Answers   Fidelity,


C and C++ has constructors and distructors, why does Java does not have distructors?

1 Answers   T3 Softwares,


define System.out.println(); what is the meaning!

19 Answers   Accenture,


explain the concept of virtual method invocation in polymorphism in detail?

0 Answers   TCS,


What is java argument list?

0 Answers  


Categories