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

There are 2 classes . Class A and Class B. In Class A i declared
a variable in private. if we can access this private variable in
Class B. If yes means , how we can access ?

Answer Posted / anup

we can easily use of private variable of class A by class B
by inherits by extends keywords as a publicly.then every
variable which are present in base class as behave in derive
class.

Is This Answer Correct ?    1 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which java technology is in demand?

890


What is considered as a web component?

1003


What are the modules of j2ee?

861


How many java languages are there?

897


What is general entity?

904


What is j2ee application model?

850


What is asant?

961


What is java secure socket extension (jsse)?

978


How do you make a class immutable in java?

800


What is document root?

860


What is the description for expression element?

945


What is a panel java?

921


I’m new to WebLogic Does anyone knows how to Deploy Application using

2123


What is java listener?

844


Is core java and j2se same?

793