Generics
Generics 1. What are Generics? Generics are used to create Generic Classes and Generic methods which can work with different …
Advanced Collections 1. What is the difference between synchronized and concurrent collections in Java? Synchronized collections are implemented using synchronized …
Collections 1. Why do we need Collections in Java? Arrays are not dynamic. Once an array of a particular size …
Miscellaneous Topics 1. What is Garbage Collection? Garbage Collection is a name given to automatic memory management in Java. Aim …
Wrapper Classes 1. What are wrapper classes? A primitive wrapper class in the Java programming language is one of eight …
Exception Handling 1. Why is Exception Handling important? Most applications are large and complex. I’ve not seen an application without …
Access Modifiers 1. What is default class modifier? • A class is called a Default Class is when there is …
Advanced Object Oriented Concepts 1. What is Polymorphism? Polymorphism is defined as “Same Code” giving “Different Behavior”. Let’s look at …
Object Oriented Programming 1. What is a Class? A class is a Template. A class defines state and behavior that …
Java Strings 1. Why Strings are immutable? String literals are stored in String pool. If a new string is created …