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

What does it mean to flush a file?

0 Answers  


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


how are methods defined?

0 Answers  


How many bytes is a url?

0 Answers  


State the difference between creating string as new () and literal.

0 Answers  






What is the importance of hashcode() and equals() methods?

0 Answers  


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

0 Answers   HCL,


What is primitive array?

0 Answers  


How can we create objects if we make the constructor private ?

0 Answers  


What happens when I use / and % with a negative numerator?

0 Answers  


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,


Categories