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

int a=1,b=10; System.out.println(a+b--);

12 Answers   HCL,


Can a private method of a superclass be declared within a subclass?

0 Answers  


Can we override private method in java?

0 Answers  


Can an integer be null java?

0 Answers  


What is a super class and how super class be called?

3 Answers  


what is multitherading

3 Answers   Tech Mahindra,


What is dynamic binding?

2 Answers  


What is the difference between static and non-static variables in java programming?

0 Answers  


What is size_t?

0 Answers  


What is the difference between an argument and a parameter?

0 Answers  


What is get () in java?

0 Answers  


garbate collector(GC)?

4 Answers  


Categories