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

How to access a variable if it is declared as private?

Answer Posted / ravikiran(aptech mumbai)

the variable declared as private can be accessed with in the
same class only

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between pointer and reference?

1007


What is meant by design patterns?

985


What is a method in coding?

998


Should database connections be singleton?

930


What is the difference between the paint() and repaint() methods in java programming?

1138


What does string [] args mean?

960


In which language java is written?

931


Which programming language is best in future?

899


Can we override the private methods?

947


Why java does not support pointers?

987


How to perform merge sort in java?

1004


Why does java does not support multiple inheritance? Explain

929


What is the mapping mechanism used by java to identify IDL language?

965


Explain the difference between jvm and jre?

989


How are this() and super() used with constructors in java programming?

1025