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...

Can you have an inner class inside a method and what
variables can you access?

Answer Posted / kabita

yes we have.it is called local inner class.it can access
only final variables of outer class.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between processes and threads?

1121


Write a java program to check if a number is prime or not?

1088


What is the function of static in java?

1158


Is alive in java?

1014


What is the difference between method overriding and overloading?

1297


Which is better singleton or static class?

1029


Is java a prime method?

1044


How big is a pointer?

1082


is there a separate stack for each thread in java? : Java thread

1034


What is a method declaration?

1036


what is the difference between yielding and sleeping? : Java thread

1012


What is a vector in java?

1093


What is a double vs float?

1073


Is vector thread safe in java?

1102


What is this () in java?

1086