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

Is it safe to install java on my computer?

1221


What is an example of a keyword?

1159


What are the two environment variables that must be set in order to run any java programs?

1011


What is pre increment and post increment in java?

1033


Is java call by reference?

1015


What is a lightweight component?

1062


What is the maximum size of arraylist in java?

1058


What are voids?

1015


How to display names of all components in a Container?

2981


how to create multithreaded program? Explain different ways of using thread? : Java thread

1048


Why is stringbuffer faster than string?

959


Which java version is latest?

1082


Write code of any action class?

1058


Is Java a dying language?

1130


What does a method signature consist of?

1046