give an example for encapsulation?


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

Post New Answer

More Core Java Interview Questions

What are the advantages of java?

0 Answers  


What are the 2 types of java programs?

0 Answers  


Which collection is thread safe in java?

0 Answers  


suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible

6 Answers   HP, Wipro,


Can we sort list in java?

0 Answers  


What is the use of object and class classes?

0 Answers  


What is a generic code?

0 Answers  


Which class should you use to obtain design information about an object

2 Answers  


Justify your answer that you can't define a method inside another method in java, if you can then how?

0 Answers  


What is are packages?

0 Answers  


how many ways to create Thread and which one is good? runnable interface ot Thread class?

3 Answers   Satyam,


what is the difference between yielding and sleeping? : Java thread

0 Answers  


Categories