give an example for encapsulation?
What are the advantages of java?
What are the 2 types of java programs?
Which collection is thread safe in java?
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
Can we sort list in java?
What is the use of object and class classes?
What is a generic code?
Which class should you use to obtain design information about an object
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is are packages?
how many ways to create Thread and which one is good? runnable interface ot Thread class?
what is the difference between yielding and sleeping? : Java thread