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 |
Can a constructor call the constructor of parent class?
how to transactions(Bank transactions) in business process in ejb?
what is jndi?
What is gc()?
why the primitive data type have classes?
Similarity and difference between static block and static method ?
Does hashset allow duplicates in java?
what are Checked & Unchecked exceptions ?
When should I use a singleton?
What is the difference between actual and formal parameters?
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?