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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

If we don’t want some of the fields not to serialize how to do that?

956


What is an empty class? What functionality does it offer in Java?

1202


In the below example, what will be the output?

972


Can we write multiple catch blocks under single try block?

1034


What is the disadvantage of synchronization?

965


What do you mean by buffering?

974


Explain the difference between call by refrence and call by value?

972


Explain the meaning of java applet.

1015


Can an abstract class be a final class?

915


What is the use of static methods?

993


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1804


What do u mean by variable?

990


Can we define private and protected modifiers for variables in interfaces?

1019


how many types of Inheritance?

1120


What are different types of inner classes ?

985