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

What is method Overloading in the perspective of OOPS?

6 Answers  


What code optimizations techniques you follow in general practice?

2 Answers   Accenture, TCS, Wipro,


Is array size fixed in java?

0 Answers  


Define jit compiler?

0 Answers  


what are the states associated in the thread? : Java thread

0 Answers  






How do you implement singleton class?

0 Answers  


What is the purpose of static methods and static variables?

0 Answers  


Howmany address lines are required to addressing 1 MB memory?

8 Answers   Beatroot Technologies, CSC, HCL, Hexaware, IBM,


Explain scope or life time of local variables in java?

0 Answers  


What is a substitution variable?

0 Answers  


Explain the private protected method modifier?

0 Answers  


what is mutual exclusion? : Java thread

0 Answers  


Categories