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

What is j2ee api?

964


What is javabeans component?

967


What is comment?

922


What is j2ee application model?

911


Give some advantages of orm (object-relational mapping)?

1043


What is java ee architecture?

895


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

2180


Who generates bytecode in java?

956


What is j2ee module?

994


Describe orm?

916


Is java a tool?

918


Why java is called portable language?

911


What do you understand by business logic?

912


What is asant?

1012


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

1930