Try-Catch-Finally Blocks
Java Keywords
final, finally, and finalize.Collections and Concurrency
HashMap, ConcurrentHashMap, and SynchronizedHashMap.HashMap and TreeMap.Singleton Design Pattern
Java Inheritance and Interfaces
Threading in Java
Callable.Immutable Classes
Sealed Classes
HashMap allows one null key and multiple null values, while TreeMap does not allow null keys unless handled in custom classes.Callable for returning values from threads, as Runnable does not support return values.This summary encapsulates the key points discussed in the video, providing a comprehensive overview of tricky Java interview questions and their answers.
0:00 hey everyone welcome to channel if you're watching our channel for the first time please subscribe to channel so in this video we are going to discuss about tricky Java interview questions so basically what will happen is even though you have worked on Java and even though you know the concepts in the interview some of the questions will become tricky to answer and because of these questions there are Chan that you may get rejected in these interviews so it's better to know how to answer these tricky question and with this uh video what we'll do is we'll cover from java 7
0:31 to Java 21st all the tricky questions even the latest Concepts will also be covered in this so watch till the end get the benefit out of it I'm sharing a premium quality and interview material for free in this video so don't miss to watch till then let's get started so this is the first question so it ask like can we create a tri block without catch block just with only finally block so first by seeing this what will happen is normally in our day-to-day coding we create try CCH and finally so this will definitely confuse
🔒 The full, searchable transcript is available with Pro.