What are the advantages of encapsulation in java?


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

Post New Answer

More Core Java Interview Questions

Sample code to retrieve objects from HashMap in sorted ascending order?

2 Answers  


Is intellij better than eclipse?

0 Answers  


How to make a non daemon thread as daemon?

0 Answers  


Why is java architectural neutral?

0 Answers  


How do you check if a string is lexicographically in java?

0 Answers  


What is java thread dump, how can we get java thread dump of a program?

0 Answers  


What is HashTable?

4 Answers  


How many arguments can a method have java?

0 Answers  


What is methodological theory?

0 Answers  


What is the difference between Byte stream and Charecter Stream?

2 Answers   Tarang Software,


What happens when main () method is declared as private?

0 Answers   Tech Mahindra,


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

2 Answers   TCS,


Categories