Questions on String
- Why String is immutable or final in Java?
- How to use String in Switch Statement ?
- Explain String pool in Java?
Questions on Classes & Objects
- How to create immutable class in java?
- Explain Nested classes and their Types
- Explain class and Objects in Java?
- What is Enum?
Questions on Annotations
Questions on Interfaces
Others
- Explain Generics with examples ?
- Difference between Autoboxing and Unboxing?
- What is static import in Java?
- Explain VarArgs in Java?
- How to catch multiple exceptions ?
- How to use underscores in numerical literals
- Ho to use Try with resources?
- Explain for each loop in Java?
- Explain Method References in Java?
- Difference between default methods and static methods?
- Explain foreach method?
Keep watching this space for more questions….