โ† Cognizant questions

Java features, exceptions, collections, and OOPs principles

Filed under Cognizant

The question

Explain Java 8 features, null pointers, superclass of all classes, exception hierarchies, getters, setters, toString, polymorphism, overloading, overriding, equals and hashCode, comparators, and collections.

No write-up yet. Related questions below have one.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.