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

Differentiate between array list and vector in java.

1061


Does java have a compiler?

976


What will be the output of round(3.7) and ceil(3.7)?

1066


what is aggregation in java?

941


Can you run java program without main method?

1016


What is the intersection and union methods?

976


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

989


What does 0 mean in boolean?

926


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1025


Why do we use variables?

924


What is io stream in java?

969


What is meant by polymorphism?

956


What is the basic of java?

970


What is nested loop? What is dangling else condition in it?

1021


What are static variables and functions?

1057