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

Can we access private data outside of the class directly in
java programming language? Why There is no runtime checking
in java, which leads to access the private data directly
outside of a class?

Answer Posted / chaitali

No,we cannot access private data outside of class in java.
There is only compile time checking and no runtime check in
java because Java supports concepts like Polymorphism and
reflection where on runtime certain decisions are taken

Is This Answer Correct ?    14 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array command?

1103


What does this mean java?

1038


Is array primitive data type in java?

950


what are three ways in which a thread can enter the waiting state? : Java thread

955


How does finally block differ from finalize() method?

1003


How do I type unicode?

918


What is stringjoiner ?

918


Is it possible to use string in the switch case?

1000


What do you mean by data type?

980


What is local class in java?

1032


What is the base class of all classes?

1003


What is the difference between menuitem and checkboxmenu item?

1280


How do you download stubs from Remote place?

1725


What is function and method in java?

911


What is meant by call by reference?

957