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 meant by controls and types?

1 Answers  


What are different types of constants?

0 Answers  


What are the common uses of "this" keyword in java ?

0 Answers  


Differences between C and Java?

0 Answers   TCS,


What is the effect of keeping a constructor private?

0 Answers  


Give me example of derived data types.

0 Answers   Amdocs,


What happens if main method is not static?

0 Answers  


The class "Class" is belongs to which package?? a) java.lang b)java.lang.reflect c)java.util d)None

4 Answers  


Is integer immutable in java?

0 Answers  


How is java hashmap implemented?

0 Answers  


What are predefined functions?

0 Answers  


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

0 Answers  


Categories