Explain when we should make an instance variable private.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we have multiple public classes in a java source file?

0 Answers  


Why can't we make jsp as a controller and action servlet in struts?

8 Answers   TCS, Wipro,


What means public static?

0 Answers  


when everything can be done by static block then why do we use main method?.

2 Answers  


What is function and its uses?

0 Answers  


What type of variable is gender?

0 Answers  


What technique is carried out to find out if a particular string is empty?

0 Answers  


What is Java Annotations?

0 Answers  


Java is Pass by Value or Pass by Reference?

0 Answers   BirlaSoft,


What is anonymous class?

2 Answers  


What is lifetime variable?

0 Answers  


Explain the usage of this with constructors?

0 Answers  


Categories