π§π³π¦π²πΆπ¦π―π΅ππΊ π’π΄π¬π¦π₯ π«π’π·π’ π²πΆπ¦π΄π΅πͺπ°π―π΄ - FAME-DEV/Java-Test GitHub Wiki
-
- Whatβs the difference between JDK, JRE, and JVM?
- πΈ Why is Java considered platform-independent?
- πΈ Difference between an abstract class and an interface?
- πΈ Whatβs the role of final, finally, and finalize in Java?
- πΈ Stack vs. heap memory, whatβs the difference?
- πΈ Method overloading vs. method overriding?
- πΈ Difference between private and protected access modifiers?
- πΈ Whatβs constructor overloading in Java?
- πΈ Purpose of the super keyword in Java?
- πΈ Whatβs the purpose of static blocks in Java?
- πΈ What is the use of the this keyword in constructors?
- πΈ What are the Object-Oriented features supported by Java?
- πΈ Access specifiers in Java, what are the differences?
- πΈ Difference between composition and inheritance?
- πΈ What is the purpose of an abstract class?
- πΈ Difference between a constructor and a method in Java?
- πΈ Explain the diamond problem in Java and its solution.
- πΈ Local vs. instance variables, whatβs the difference?
- πΈ What is a Marker interface in Java?
- πΈ How does Java achieve polymorphism?
- πΈ Explain encapsulation with a real-life example.
- πΈ Why are Strings immutable in Java?
- πΈ Difference between creating Strings using new() vs. literals?
- πΈ What is the Collections framework?
- πΈ ArrayList vs. LinkedList, key differences?
- πΈ HashMap vs. TreeMap, when to use each?
- πΈ HashSet vs. TreeSet, whatβs the difference?
- πΈ Iterator vs. ListIterator, how do they differ?
- πΈ Whatβs the role of the Comparable interface?
- πΈ Whatβs the difference between Collections and Collection?
- πΈ Why use the java.util.concurrent package?
- πΈ What is an exception in Java?
- πΈ How does exception propagation work?
- πΈ Checked vs. unchecked exceptions, whatβs the difference?
- πΈ Purpose of a try-catch block in Java?
- πΈ Difference between throw and throws?
- πΈ Why use a finally block?
- πΈ Whatβs the base class of all exception classes?
- πΈ How is a custom exception created in Java?
- πΈ What happens if an exception is not caught?
- πΈ How do you rethrow exceptions in Java?
- πΈ What is a thread, and what are the stages of its lifecycle?
- πΈ Difference between a process and a thread?
- πΈ Types of thread priorities in Java?
- πΈ What is context switching in threads?
- πΈ User threads vs. daemon threads, how do they differ?
- πΈ Purpose of synchronization in Java?
- πΈ What is a deadlock? How can it be avoided?
- πΈ Use of wait() and notify() methods in threads?
- πΈ Synchronized vs. volatile in Java?
- πΈ Difference between notify() and notifyAll()?