Cognizant Interview Question

What do you mean by Constructor? What is Encapsulation? What is meant by Method Overriding? Difference between Default and Protected access specifiers. Difference between HashMap and HashTable. Difference between Abstract class and Interface. What is mean by Collections in Java? Explain about the different lists available in the collection. Explain about Set and their types in a collection?