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


Explain the private field modifier?



Explain the private field modifier?..

Answer / Sonilata Prajapati

The 'private' field modifier in Java restricts access to the variable only within its own class. Private fields cannot be accessed directly from other classes or instances, even subclasses.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can a constructor call the constructor of parent class?

1 Answers  


how to transactions(Bank transactions) in business process in ejb?

1 Answers   Photon,


what is jndi?

1 Answers   TCS,


What is gc()?

1 Answers  


why the primitive data type have classes?

4 Answers  


Similarity and difference between static block and static method ?

1 Answers  


Does hashset allow duplicates in java?

1 Answers  


what are Checked & Unchecked exceptions ?

2 Answers  


When should I use a singleton?

1 Answers  


What is the difference between actual and formal parameters?

1 Answers  


why java does not support multiple inheritance

41 Answers   Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,


What releases of Java technology are currently available? What do they contain?

1 Answers  


Categories