What is the primary benefit of encapsulation?


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

Post New Answer

More Core Java Interview Questions

2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

0 Answers   RBS, TCS,


Suppose i have two threads t1 and t2 are running.How the main thread will know that the two threads t1,t2 execution has completed?

2 Answers   Subex,


What is high level language in computer?

0 Answers  


What are thread local variables?

0 Answers  


Can we initialize the final blank variable?

0 Answers  






What is mean by encoding?

0 Answers  


How we can execute any code even before main method?

0 Answers  


What are the different approaches to implement a function to generate a random number?

0 Answers   Axtria, ITC Indian Tobacco Company,


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

0 Answers  


Can an interface implement another interface?

0 Answers  


What are access modifiers?

1 Answers   Infosys,


What is the difference between Stream Reader and Stream Writer?

4 Answers  


Categories