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 software is used for java?

946


Explain connector architecture.

1023


How to create object without using the keyword “new” in java?

1106


What is java ee server?

921


Define orm and its working in j2ee?

1101


Why primitive data types in java are not objects?

936


What is the difference between load() and get()?

1131


What is application configuration resource file?

969


What are the components of awt in java?

1001


What is j2ee application?

1019


What is actionform?

987


Is string an object in java?

937


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

1980


What is the name of java compiler?

1025


What is javafx java?

1102