{"id":109478,"url":"https://github.com/javabuddy/awesome-java-interview-resource","name":"awesome-java-interview-resource","description":"Best collection of Java Interview resources including books, courses, interview questions and answers on different topics like core java, collections, mutlithreading, functional programming, serialization, design patterns and more. ","projects_count":223,"last_synced_at":"2026-04-13T06:00:35.320Z","repository":{"id":244674892,"uuid":"815931877","full_name":"javabuddy/awesome-java-interview-resource","owner":"javabuddy","description":"Best collection of Java Interview resources including books, courses, interview questions and answers on different topics like core java, collections, mutlithreading, functional programming, serialization, design patterns and more. ","archived":false,"fork":false,"pushed_at":"2025-12-10T15:14:41.000Z","size":94,"stargazers_count":471,"open_issues_count":0,"forks_count":80,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-03-15T17:25:35.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javabuddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-16T15:11:44.000Z","updated_at":"2026-03-09T01:27:54.000Z","dependencies_parsed_at":"2024-08-11T05:36:26.194Z","dependency_job_id":null,"html_url":"https://github.com/javabuddy/awesome-java-interview-resource","commit_stats":null,"previous_names":["javabuddy/awesome-java-interview-resource"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javabuddy/awesome-java-interview-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javabuddy%2Fawesome-java-interview-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javabuddy%2Fawesome-java-interview-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javabuddy%2Fawesome-java-interview-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javabuddy%2Fawesome-java-interview-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javabuddy","download_url":"https://codeload.github.com/javabuddy/awesome-java-interview-resource/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javabuddy%2Fawesome-java-interview-resource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31144128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-29T11:01:20.541Z","status":"ssl_error","status_checked_at":"2026-03-29T11:01:14.322Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"readme":"# Best Java Interview Preparation Resources\nBest collection of Java Interview resources including books, courses, interview questions and answers on different topics like core java, collections, mutlithreading, functional programming, serialization, design patterns and more. \n\n## Best Java Interview Prep Courses\n- [Grokking the System Design Interview](https://designgurus.org/link/84Y9hP?url=https%3A%2F%2Fdesigngurus.org%2Fcourse%3Fcourseid%3Dgrokking-the-system-design-interview)\n- [Java Interview Guide: 200+ Interview Questions and Answers](https://trk.udemy.com/c/3294490/3262185/39854?u=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fjava-interview-questions-and-answers%2F)\n- [Grokking the Coding Interview: Patterns for Coding Questions](https://designgurus.org/link/84Y9hP?url=https%3A%2F%2Fdesigngurus.org%2Fcourse%3Fcourseid%3Dgrokking-the-coding-interview)\n- [Grokking the Object-Oriented Design Interview](https://www.educative.io/collection/5668639101419520/5692201761767424?affiliate_id=5073518643380224)\n- [Java Multithreading for Senior Engineering Interviews](https://www.educative.io/courses/java-multithreading-for-senior-engineering-interviews?affiliate_id=5073518643380224)\n- [200+ SQL Interview Questions](https://trk.udemy.com/c/3294490/3262185/39854?u=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fsql-interview-questions%2F)\n- [Grokking Dynamic Programming Patterns for Coding Interviews](https://www.educative.io/collection/5668639101419520/5633779737559040?affiliate_id=5073518643380224)\n- [Java Data Structures \u0026 Algorithms + LEETCODE Exercises](https://trk.udemy.com/c/3294490/3262185/39854?u=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fdata-structures-and-algorithms-java%2F%3FcouponCode%3DLETSLEARNNOW)\n- [Spring and Spring Boot Interview Guide](https://trk.udemy.com/c/3294490/3262185/39854?u=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fspring-interview-questions-and-answers%2F)\n- [Java Multithreading \u0026 Concurrency - Interview Practice Exams](https://trk.udemy.com/c/3294490/3262185/39854?u=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fjava-multithreading-concurrency-interview-practice-exams%2F)\n\n## Best Java Interview Prep Books\n- [Cracking the Coding Interview: 189 Programming Questions](http://www.amazon.com/Cracking-Coding-Interview-6th-Edition/dp/0984782850/?tag=javamysqlanta-20) - common coding questions from interviews \n- [Grokking the Java Interview bundle](https://javinpaul.gumroad.com/l/java-interview-bundle?offer_code=friends20) - core Java and multithreading questions from interview\n- [Grokking the Spring Boot Interview on Gumroad](https://gumroad.com/l/hrUXKY) - spring framework and spring boot questions\n- [System Design Interview – An insider's guide  by Alex Xu](https://www.amazon.com/System-Design-Interview-insiders-Second/dp/B08CMF2CQF/?tag=javamysqlanta-20) - system design interview pre\n- [Java Programming Interview Exposed By Markham](http://www.amazon.com/Java-Programming-Interviews-Exposed-Markham/dp/1118722868?tag=javamysqlanta-20)\n- [Object Oriented Design Interview: An Insider’s Guide](https://www.amazon.com/Object-Oriented-Design-Interview-Insiders/dp/173604916X?tag=javamysqlanta-20)\n- [Programming Interviews Exposed](https://www.amazon.com/Programming-Interviews-Exposed-Through-Interview-dp-111941847X/dp/111941847X/?tag=javamysqlanta-20)\n- [Daily Coding Problem: Get Exceptionally Good](https://www.amazon.com/Daily-Coding-Problem-exceptionally-interviews/dp/1793296634/?tag=javamysqlanta-20)\n- [Coding Interview Patterns: Nail Your Next Coding Interview](https://www.amazon.com/Coding-Interview-Patterns-Nail-Your/dp/1736049135?tag=javamysqlanta-20) - coding interivew patterns\n\n\n# Java Interview Questions\nA comprehensive list of Java interview questions categorized by topic. These questions are asked multiple times on core Java interview to many developers, both junior developers with 1 to 2 years of experienced, intermediate developers  of 3 to 5 years of experience and senior developers with 5 to 10 yeras of experience. \n\n## Core Java\n- [Top 50 Java Programming Interview Questions](https://www.java67.com/2012/08/10-java-coding-interview-questions-and.html)\n- [133+ Core Java Interview Questions for 2-5 Years Experienced Programmers](https://javarevisited.blogspot.com/2011/06/top-programming-interview-questions.html)\n- [20 Core Java Interview Questions on Overloading and Overriding](https://www.java67.com/2015/08/top-10-method-overloading-overriding-interview-questions-answers-java.html)\n- \n\n## OOP Concepts\n- [Top 40 Object-Oriented Programming (OOP) Concepts Interview Questions](https://javarevisited.blogspot.com/2020/05/object-oriented-programming-questions-answers.html)\n- [30 Object-Oriented Programming (OOP) Concepts Interview Questions Answers](https://www.java67.com/2015/12/top-30-oops-concept-interview-questions-answers-java.html)\n- [Top 15 Java Method Overloading and Overriding Interview Questions](https://www.java67.com/2015/08/top-10-method-overloading-overriding-interview-questions-answers-java.html)\n- [What is Constructor Overloading in Java? ](https://javarevisited.blogspot.com/2012/01/what-is-constructor-overloading-in-java.html)\n- [Java Best Practices for Method Overloading?](https://javarevisited.blogspot.com/2013/01/java-best-practices-method-overloading-constructor.html)\n- [Can You Overload or Override Static Methods in Java?](https://javarevisited.blogspot.com/2013/03/can-we-overload-and-override-static-method-java.html)\n- [What is Covariant Method Overriding in Java? Example](https://javarevisited.substack.com/p/covariant-method-overriding-in-java)\n- [Difference between Abstraction and Encapsulation in Java](https://javarevisited.blogspot.com/2017/04/difference-between-abstraction-and-encapsulation-in-java-oop.html)\n- [Difference between Abstract Class and Interface in Java](https://javarevisited.blogspot.com/2013/05/difference-between-abstract-class-vs-interface-java-when-prefer-over-design-oops.html)\n- [Difference between Inheritance and Polymorphism in Java and OOP - Example](https://javarevisited.blogspot.com/2013/05/difference-between-inheritance-and-polymorphism-java-oops.html)\n- [Java Polymorphism Interview Questions and Answers](https://javarevisited.blogspot.com/2014/08/polymorphism-in-java-example-tutorial.html)\n- [10 Object-Oriented Design Principles](https://javarevisited.blogspot.com/2014/09/10-object-oriented-design-principles.html)\n- [Java OOP Interview Questions and Answers](https://www.java67.com/2018/10/java-oops-object-oriented-programming-interview-questions.html)\n- [Top 20 Java Interview Questions on Object-Oriented Programming](https://javarevisited.blogspot.com/2014/08/top-20-object-oriented-programming-oops-interview-questions-answers-java.html)\n\n## Collections\n- [Top 50 Collection Framework Interview Questions](https://javarevisited.blogspot.com/2020/04/50-java-collection-and-generics-interview-questions-answers.html)\n- [Difference between List and Set in Java](https://javarevisited.blogspot.com/2012/04/difference-between-list-and-set-in-java.html)\n- [Difference between HashMap and ConcurrentHashMap in Java](https://javarevisited.blogspot.com/2013/01/difference-between-hashmap-vs-concurrenthashmap-java.html)\n- [Difference between ArrayList and LinkedList in Java](https://javarevisited.blogspot.com/2012/06/arraylist-vs-linkedlist-in-java.html)\n- [Difference between ArrayList and HashSet in Java](https://javarevisited.blogspot.com/2014/04/difference-between-arraylist-and-hashset-in-java.html)\n- [Difference between HashMap and HashSet in Java](https://javarevisited.blogspot.com/2011/02/difference-between-hashmap-and-hashset.html)\n- [Difference between HashMap and TreeMap in Java](https://javarevisited.blogspot.com/2011/12/difference-between-treemap-and-hashmap-java.html)\n- [Top 15 ArrayList Interview Questions Answers in Java](https://javarevisited.blogspot.com/2017/03/arraylist-interview-questions-answers-java.html)\n- [Difference between Hashtable and HashMap in Java](https://javarevisited.blogspot.com/2010/10/difference-between-hashmap-and.html)\n- [Java HashMap Internal Implementation](https://javarevisited.blogspot.com/2011/02/how-hashmap-works-in-java.html)\n- [Difference between Iterator and Enumeration in Java](https://javarevisited.blogspot.com/2011/10/what-is-difference-between-iterator-and.html)\n- [Difference between ConcurrentHashMap and SynchronizedMap in Java](https://javarevisited.blogspot.com/2012/12/difference-between-concurrenthashmap-vs-synchronizedmap.html)\n- [Difference between Comparable and Comparator in Java](https://javarevisited.blogspot.com/2011/06/comparator-and-comparable-in-java.html)\n- [What is NavigableMap in Java](https://javarevisited.blogspot.com/2012/12/difference-between-treemap-and-navigablemap-java-example.html)\n- [Top 30 Java Collection Framework Interview Questions](https://www.java67.com/2012/09/top-10-collection-framework-interview-questions.html)\n- [Top 10 HashMap Interview Questions in Java](https://www.java67.com/2015/09/top-10-hashmap-interview-questions-in.html)\n- [Difference between Array and ArrayList in Java](https://www.java67.com/2012/09/difference-between-arraylist-and-array.html)\n- [Difference between HashMap and LinkedHashMap in Java](https://www.java67.com/2012/08/difference-between-hashmap-and-linkedhashmap-java.html)\n- [Top 10 ConcurrentHashMap Interview Questions in Java](https://www.java67.com/2018/05/top-10-concurrenthashmap-interview-questions.html)\n- [Difference between Vector and ArrayList in Java](https://www.java67.com/2012/09/difference-between-vector-vs-arraylist-java.html)\n- [Difference between HashMap and WeakHashMap in Java](https://www.java67.com/2013/02/difference-between-hashmap-and-weakhashmap-java.html)\n- [Java Collections Framework Tutorial](https://www.java67.com/2012/09/java-collection-framework-tutorial-for.html)\n- [Difference between TreeSet and HashSet in Java](https://www.java67.com/2012/08/difference-between-treeset-and-hashset.html)\n- [How get() method of HashMap works in Java](https://www.java67.com/2012/09/how-get-method-of-hashmap-works-in-java.html)\n- [Java ArrayList contains() method example](https://www.java67.com/2019/04/java-arraylist-contains-method-example.html)\n- [Difference between HashMap and IdentityHashMap in Java](https://www.java67.com/2013/02/difference-between-hashmap-and-identityhashmap-java.html)\n- [How to iterate over a HashMap in Java](https://www.java67.com/2013/02/how-to-iterate-over-hashmap-in-java.html)\n- [Difference between ArrayList and Vector in Java](https://www.java67.com/2012/09/difference-between-vector-and-arraylist-java.html)\n- [Top 10 Java Set Interview Questions](https://www.java67.com/2018/05/top-10-java-set-interview-questions.html)\n- [Java Collections Framework Cheat Sheet](https://www.java67.com/2018/05/java-collections-framework-cheat-sheet.html)\n- [Top 10 TreeMap Interview Questions in Java](https://www.java67.com/2018/05/top-10-treemap-interview-questions-in-java.html)\n\n## Multithreading and Concurrency\n- [50+ Java Multithreading and Concurrency Questions](https://javarevisited.blogspot.com/2011/10/top-10-java-multithreading-interview-questions.html)\n- [Top 30 Java Multithreading Interview Questions Answers](https://www.java67.com/2012/09/top-15-java-multi-threading-interview.html)\n- [Top 15 Java Multithreading Interview Questions](https://javarevisited.blogspot.com/2011/05/15-java-multi-threading-interview.html)\n- [Top 21 Java Multithreading Interview Questions with Answers](https://javarevisited.blogspot.com/2015/07/top-21-java-multithreading-interview-questions-answers.html)\n- [Difference between Sleep and Wait in Java](https://javarevisited.blogspot.com/2011/03/difference-between-sleep-and-wait-in.html)\n- [Difference between Notify and NotifyAll in Java](https://javarevisited.blogspot.com/2013/01/difference-between-notify-and-notifyall-java-example.html)\n- [Difference between Thread vs Runnable interface in Java](https://javarevisited.blogspot.com/2011/02/difference-thread-vs-runnable-java.html)\n- [Difference between synchronized and concurrent collection in Java](https://javarevisited.blogspot.com/2014/03/difference-between-synchronized-and-concurrent-collection.html)\n- [What is the difference between process and thread in Java](https://javarevisited.blogspot.com/2011/10/difference-between-process-and-thread.html)\n- [How to use Exchanger for inter-thread communication in Java](https://javarevisited.blogspot.com/2015/05/how-to-use-exchanger-for-inter-thread-communication-java-example.html)\n- [What is Phaser in Java?](https://javarevisited.blogspot.com/2016/03/what-is-phaser-in-java-and-how-to-use-it-example.html)\n- [What is a Daemon thread in Java and Difference with User thread](https://javarevisited.blogspot.com/2012/03/what-is-daemon-thread-in-java-and.html)\n- [How to use Fork Join in Java Multithreading](https://javarevisited.blogspot.com/2015/02/how-to-use-fork-join-in-java-multithreading-tutorial-example.html)\n- [Top 10 Java ConcurrentHashMap Interview Questions with Answers](https://javarevisited.blogspot.com/2017/08/top-10-concurrenthashmap-interview-questions-answers-java.html)\n- [Top 50 Java Multithreading Interview Questions](https://www.java67.com/2018/05/top-50-java-multithreading-interview-questions.html)\n- [Java Concurrency and Multithreading Interview Questions](https://www.java67.com/2016/10/20-multiple-choice-questions-java-multithreading-concurrency.html)\n- [Difference between Callable and Runnable in Java](https://www.java67.com/2014/03/difference-between-callable-and-runnable-in-java.html)\n- [Difference between Synchronized Method and Synchronized Block in Java](https://www.java67.com/2015/10/difference-between-synchronized-method-block-java.html)\n- [Difference between CyclicBarrier and CountDownLatch in Java](https://www.java67.com/2015/10/difference-between-cyclicbarrier-and-countdownlatch-java.html)\n- [What is ThreadLocal in Java](https://www.java67.com/2015/09/what-is-threadlocal-in-java-with-example.html)\n- [Difference between Volatile and Atomic Variables in Java](https://www.java67.com/2016/03/difference-between-volatile-and-atomic-variable-java.html)\n- [How to avoid deadlock in Java](https://www.java67.com/2015/09/how-to-avoid-deadlock-in-java-write-deadlock-free-code.html)\n- [Difference between submit() and execute() method in Java](https://www.java67.com/2014/05/difference-between-submit-and-execute-method-threadpool.html)\n- [How to Create a Thread-Safe Singleton in Java](https://www.java67.com/2014/06/how-to-create-thread-safe-singleton-class-java.html)\n\n\n## Exception Handling\n- [Top 10 Java Exception and Error Interview Questions](https://javarevisited.blogspot.com/2011/09/10-exception-and-error-interview-questions.html)\n- [Java Exception Handling Interview Questions](https://www.java67.com/2017/07/10-exception-handling-interview-questions-answers-java.html)\n\n## Stream and Functional Programming\n- [20 Java 8 Interview Questions](https://javarevisited.blogspot.com/2014/04/java-8-interview-questions-and-answers.html)\n- [Top 50 Java 8 Interview Questions](https://www.java67.com/2016/04/top-50-java-8-interview-questions.html)\n- [Top 15 Java 8 Stream and Functional Programming Interview Questions Answers](https://www.java67.com/2019/03/top-15-java-8-stream-and-functional-programming-interview-questions.html)\n\n## Design Patterns\n- [Top 20 Design Pattern Interview Questions](https://javarevisited.blogspot.com/2013/03/10-object-oriented-design-interview-question-answer.html)\n- [20 Design Patterns for Java Interview Questions](https://www.java67.com/2012/09/design-patterns-interview-questions.html)\n- [Top 10 Design Patterns Interview Questions in Java](https://javarevisited.blogspot.com/2010/12/top-10-design-patterns-interview.html)\n- [Difference between Factory and Abstract Factory Pattern in Java](https://javarevisited.blogspot.com/2013/03/difference-between-factory-and-abstract-factory-pattern-in-java.html)\n- [Top 10 Object-Oriented Design Principles and Patterns for Java Programmers](https://javarevisited.blogspot.com/2014/01/top-10-object-oriented-design-principles-patterns.html)\n- [What is Singleton design pattern in Java](https://javarevisited.blogspot.com/2012/12/how-to-create-thread-safe-singleton-in-java.html)\n- [Observer Design Pattern in Java](https://javarevisited.blogspot.com/2011/06/observer-design-pattern-java-example.html)\n- [Difference between State and Strategy Design Pattern in Java](https://javarevisited.blogspot.com/2012/06/strategy-vs-state-design-pattern-java.html)\n- [How to implement Thread-Safe Singleton Pattern in Java](https://javarevisited.blogspot.com/2012/12/how-to-create-thread-safe-singleton-in-java.html)\n- [How to impelment Builder Design Pattern in Java](https://javarevisited.blogspot.com/2012/06/builder-design-pattern-in-java-example.html)\n- [When to use Adapter Design Pattern in Java](https://javarevisited.blogspot.com/2013/12/adapter-design-pattern-in-java-example-tutorial.html)\n- [How Chain of Responsibility Design Pattern works in Java](https://javarevisited.blogspot.com/2017/09/chain-of-responsibility-design-pattern-in-java.html)\n- [What is Decorator Design Pattern in Java](https://javarevisited.blogspot.com/2011/12/decorator-design-pattern-java-example.html)\n- [What is Proxy Design Pattern in Java](https://javarevisited.blogspot.com/2011/11/proxy-design-pattern-example-java.html)\n- [10 Design Pattern Interview Questions and Answers](https://www.java67.com/2016/10/top-10-design-pattern-interview-questions-answers.html)\n- [Difference between Singleton and Static Class in Java](https://www.java67.com/2012/08/difference-between-singleton-pattern-and-static-class-java.html)\n- [Java Singleton Design Pattern Example](https://www.java67.com/2012/08/how-to-implement-singleton-design-pattern-in-java.html)\n- [Builder Design Pattern Example in Java](https://www.java67.com/2012/09/builder-design-pattern-in-java-example.html)\n- [Top 10 Design Patterns in Java](https://www.java67.com/2016/09/top-10-java-design-patterns-interview-questions.html)\n- [Observer Design Pattern Example in Java](https://www.java67.com/2012/09/observer-design-pattern-java-example.html)\n- [Difference between Strategy and State Design Pattern in Java](https://www.java67.com/2012/09/strategy-vs-state-design-pattern-java.html)\n- [Decorator Design Pattern Example in Java](https://www.java67.com/2012/09/decorator-design-pattern-java-example.html)\n- [Adapter Design Pattern Example in Java](https://www.java67.com/2012/09/adapter-design-pattern-example-java.html)\n- [Difference between Adapter and Proxy Design Pattern in Java](https://www.java67.com/2012/08/difference-between-adapter-and-proxy-design-pattern.html)\n- [Facade Design Pattern Example in Java](https://www.java67.com/2012/08/facade-design-pattern-java-example.html)\n- [Chain of Responsibility Design Pattern Example in Java](https://www.java67.com/2012/09/chain-of-responsibility-design-pattern-example-java.html)\n- [Factory Design Pattern Example in Java](https://www.java67.com/2012/08/factory-design-pattern-java-example.html)\n- [Abstract Factory Design Pattern Example in Java](https://www.java67.com/2012/08/abstract-factory-design-pattern-java-example.html)\n\n## Serialization\n- [Top 10 Java Serialization Interview Questions](https://javarevisited.blogspot.com/2011/04/top-10-java-serialization-interview.html)\n\n## JVM Internals\n- [Top 10 Java Virtual Machine (JVM) Interview Questions](https://javarevisited.blogspot.com/2011/09/10-java-jvm-internals-interview-questions-answers.html)\n\n## String\n- [How to find the maximum occurring character in a given String](http://javarevisited.blogspot.com/2012/12/how-to-count-occurrence-of-character-in-String.html)\n- [How to remove a given character from a String](https://www.java67.com/2013/03/how-to-replace-string-in-java-character-example.html)\n- [How to count the occurrence of a given character in a String](https://www.java67.com/2018/04/21-string-programming-and-coding-interview-questions-answers.html)\n- [How to find all permutations of a given String](http://javarevisited.blogspot.com/2015/08/how-to-find-all-permutations-of-string-java-example.html)\n- [How to reverse a given String in place](http://javarevisited.blogspot.com/2012/01/how-to-reverse-string-in-java-using.html)\n- [How to check if two Strings are anagrams of each other](http://javarevisited.blogspot.com/2013/03/Anagram-how-to-check-if-two-string-are-anagrams-example-tutorial.html)\n- [How to convert a given String into an integer](http://javarevisited.blogspot.com/2011/08/convert-string-to-integer-to-string.html)\n- [How to check if a given String is a palindrome](http://java67.com/2015/06/how-to-check-is-string-is-palindrome-in.html)\n- [How to find the first non-repeated character from a given String](http://javarevisited.blogspot.com/2014/03/3-ways-to-find-first-non-repeated-character-String-programming-problem.html)\n\n\n## Array\n- [How to check if an array contains a number in Java?](https://www.java67.com/2019/02/how-to-check-if-array-contains-number-in-java.html)\n- [How to find all pairs in an array whose sum is equal to k](https://javarevisited.blogspot.com/2015/06/how-to-find-all-pairs-in-array-whose-sum-is-equal-k.html)\n- [How to remove duplicates from an array in Java](https://javarevisited.blogspot.com/2015/06/how-to-remove-duplicates-from-array-java.html)\n- [Binary Search Algorithm without Recursion](https://javarevisited.blogspot.com/2015/08/binary-search-algorithm-in-java-without-recursion.html)\n- [Prime Number Generation Algorithms - Sieve of Eratosthenes](https://javarevisited.blogspot.com/2017/08/prime-number-generation-algorithms-sieve-of-eratosthenes.html)\n- [How to find largest and smallest number from integer array - Java Solution](https://www.java67.com/2016/06/how-to-find-largest-and-smallest-number-from-array-java.html)\n- [How to Reverse an Array in place in Java? Example Solution](https://www.java67.com/2016/01/how-to-reverse-array-in-place-in-java.html)\n- [How to sort an Array in descending order in Java? Example Tutorial](https://www.java67.com/2018/03/how-to-sort-array-in-descending-order-in-java-example.html)\n- [How to Rotate an Array to Left or Right in Java? Solution Example](https://www.java67.com/2016/05/how-to-rotate-array-to-left-or-right-in-java.html)\n- [How to implement Bubble sort in Java?](https://www.java67.com/2012/11/bubble-sort-in-java-program-to-sort.html)\n- [How to sort an array in place using the QuickSort algorithm?](https://www.java67.com/2020/01/quicksort-algorithm-in-java-example.html)\n- [What is an array? Can you change the size of the array once created?](http://java67.blogspot.sg/2014/08/10-points-about-array-in-java.html)\n- [Can you store String in an array of Integer in Java? compile-time error or runtime exception?](http://javarevisited.blogspot.co.uk/2013/11/java-array-101-for-programmers-and.html)\n- [What is the difference between ArrayIndexOutfOBounds and ArrayStoreException?](http://javarevisited.blogspot.sg/2014/05/exception-in-thread-main-arrayindexoutofboundsexception-java.html)\n- [Can you use Generics with an array?](http://javarevisited.blogspot.sg/2011/09/generics-java-example-tutorial.html)\n- [What is a two-dimensional array in Java?](http://java67.blogspot.sg/2014/10/how-to-create-and-initialize-two-dimensional-array-java-example.html)\n- [Do you have a three-dimensional array in Java?](http://javarevisited.blogspot.sg/2016/02/6-example-to-declare-two-dimensional-array-in-java.html#axzz4s6N7Y7Gb)\n- [How to iterate over an array in Java?](http://java67.blogspot.sg/2013/08/how-to-iterate-over-array-in-java-15.html)\n- [What is the difference between an array and a linked list?](http://javarevisited.blogspot.sg/2013/07/difference-between-array-and-linked-list-java.html)\n- [How to sort an array in Java?](http://java67.blogspot.sg/2014/08/4-examples-to-sort-array-in-java.html)\n- [Top 21 Java Array Interview Questions and Answers](https://www.java67.com/2023/04/top-21-java-array-interview-questions-and-answers.html)\n\n  \n## Linked List\n- [What is the difference between an array and a linked list?](http://javarevisited.blogspot.sg/2013/07/difference-between-array-and-linked-list-java.html)\n- [How to implement a singly linked list in Java?](http://javarevisited.blogspot.sg/2012/12/how-to-create-linkedlist-in-java-example.html)\n- [How to reverse a singly linked list in Java?](http://javarevisited.blogspot.sg/2013/03/how-to-reverse-linked-list-in-java.html)\n- [How to detect a loop in a linked list?](http://javarevisited.blogspot.sg/2013/05/how-to-detect-loop-in-linkedlist-java.html)\n- [How to find the middle element of a linked list in one pass?](http://javarevisited.blogspot.sg/2012/12/how-to-find-middle-element-of-linked-list-one-pass.html)\n- [How to merge two sorted linked lists into one sorted linked list?](http://javarevisited.blogspot.sg/2012/12/how-to-merge-two-sorted-linked-list-into-single-sorted-list.html)\n- [How to delete a node from a singly linked list?](http://javarevisited.blogspot.sg/2013/07/how-to-remove-loop-in-linked-list-java.html)\n- [How to find the nth node from the end in a singly linked list?](http://javarevisited.blogspot.sg/2012/12/how-to-find-nth-element-from-end-in-linked-list-java.html)\n- [How to sort a linked list in Java?](http://javarevisited.blogspot.sg/2013/03/how-to-sort-singly-linked-list-in-java.html)\n- [What are the advantages and disadvantages of using a linked list over an array?](http://javarevisited.blogspot.sg/2013/07/difference-between-array-and-linked-list-java.html)\n- [How to detect and remove loop in a linked list in Java?](http://javarevisited.blogspot.sg/2013/07/how-to-remove-loop-in-linked-list-java.html)\n- [How to find the intersection point of two linked lists?](http://javarevisited.blogspot.sg/2013/03/how-to-find-middle-element-of-linked-list-one-pass.html)\n- [How to create a circular linked list in Java?](http://javarevisited.blogspot.sg/2013/07/detecting-loop-in-singly-linked-list-java.html)\n\n\n## Recursion\n- [Write a program to find all permutations of a given String?](https://javarevisited.blogspot.com/2015/08/how-to-find-all-permutations-of-string-java-example.html#axzz5N6yGHupv))\n- [Write a program to check if a given String is a palindrome()?](http://www.java67.com/2015/06/how-to-check-is-string-is-palindrome-in.html)\n- [Write a program to remove duplicates from an unsorted linked list?](https://javarevisited.blogspot.com/2012/12/how-to-remove-duplicates-elements-from-ArrayList-Java.html)\n- [Write a program to find the length of a given linked list?](https://javarevisited.blogspot.com/2016/05/how-do-you-find-length-of-singly-linked.html#axzz6dXsEfLvJ)\n- [Write a program to implement a quicksort algorithm using recursion?](https://www.java67.com/2014/07/quicksort-algorithm-in-java-in-place-example.html)\n- [Write a method countLeaves() to find the total number of leaf nodes in a binary tree. If there are no leaf nodes, return 0](https://javarevisited.blogspot.com/2016/12/how-to-count-number-of-leaf-nodes-in-java-recursive-iterative-algorithm.html#axzz6e8hmwujv)\n- [Write a program to find the greatest common divisor or GCD of a given number?](http://www.java67.com/2012/08/java-program-to-find-gcd-of-two-numbers.html)\n- [Write a program to convert a decimal number to a binary number?](https://javarevisited.blogspot.com/2015/01/how-to-convert-binary-number-to-decimal.html) \n- [Write a program to print pre-order traversal of binary tree?](https://javarevisited.blogspot.com/2016/07/binary-tree-preorder-traversal-in-java-using-recursion-iteration-example.html#axzz6dXsEfLvJ)\n- [Write a program to print in-order traversal of binary tree using recursion?](https://javarevisited.blogspot.com/2016/07/binary-tree-preorder-traversal-in-java-using-recursion-iteration-example.html#axzz6dXsEfLvJ) \n- [Write a program to print post-order traversal of binary tree?](https://javarevisited.blogspot.com/2016/10/post-order-binary-tree-traversal-in-java-iteration-recursion.html)\n- [Write a program to check if a given linked list is a palindrome?](https://javarevisited.blogspot.com/2022/03/how-to-check-if-given-linked-list-is.html) \n\n\n## Coding Problems\n- [How to implement Merge Sort Algorithm in Java - Example Tutorial](https://www.java67.com/2020/01/merge-sort-algorithm-in-java-example.html)\n- [How to Find Nth Fibonacci Number in Java - Example Tutorial](https://www.java67.com/2020/01/how-to-find-nth-fibonacci-number-in-java.html)\n- [How to swap two Integers without using a temporary variable in Java?](https://www.java67.com/2019/02/how-to-swap-two-integers-without-using-temporary-variable-in-java.html)\n- [How to find Factorial in Java using Recursion and Iteration - Example Tutorial](https://www.java67.com/2020/01/factorial-in-java-using-recursion-and-iteration.html)\n- [How to code Binary Search Algorithm using Recursion in Java? Example](https://www.java67.com/2020/01/binary-search-algorithm-using-recursion-in-java.html)\n- [How to convert Decimal to Binary Number in Java? Example Tutorial](https://www.java67.com/2020/01/how-to-convert-decimal-to-binary-in-java.html)\n- [Counting Sort in Java - Example](https://www.java67.com/2019/02/counting-sort-in-java-example.html)\n- [How to check if an array contains a number in Java?](https://www.java67.com/2019/02/how-to-check-if-array-contains-number-in-java.html)\n- [How to sort an array in place using the QuickSort algorithm?](https://www.java67.com/2020/01/quicksort-algorithm-in-java-example.html)\n- [How do you print all duplicate elements from the array in Java?](https://www.java67.com/2020/01/how-to-print-duplicate-elements-from-array-in-java.html)\n- [Top 100 Data Structure and Algorithm Interview Questions for Java Programmers](https://www.java67.com/2018/04/top-100-data-structure-and-algorithm-interview-questions.html)\n- [Top 30 Stack and Queue Data Structure Interview Questions for Practice](https://www.java67.com/2018/04/top-30-stack-and-queue-data-structure-interview-questions.html)\n- [Top 40 Binary Tree Coding Interview Questions for Programmers](https://www.java67.com/2018/06/top-40-binary-tree-coding-interview-questions.html)\n- [Top 22 Array Concepts Interview Questions Answers in Java](https://www.java67.com/2019/03/top-22-array-concepts-interview-questions-answers-in-java.html)\n- [75+ Coding Interview Questions for Programmers](https://javarevisited.blogspot.com/2015/02/75-programming-interview-questions.html)\n- [50+ Data Structure and Algorithms Problems from Interviews](https://javarevisited.blogspot.com/2015/02/data-structure-and-algorithm-interview-questions.html)\n- [Top 50 Array Coding Problems for Interviews](https://javarevisited.blogspot.com/2015/02/top-50-array-coding-problems-for-interviews.html)\n- [Top 20 Linked List Interview Questions for Programmers](https://javarevisited.blogspot.com/2015/02/top-20-linked-list-interview-questions.html)\n- [Top 10 Algorithm Interview Questions for Programmers](https://javarevisited.blogspot.com/2015/02/top-10-algorithm-interview-questions.html)\n\n\n## Miscelleneous\n- [Top 50 Core Java Interview Questions Answers](https://javarevisited.blogspot.com/2011/03/core-java-interview-questions-answers.html)\n- [Top 30 Core Java Interview Questions for 2 to 3 years Experienced Programmers](https://javarevisited.blogspot.com/2018/01/top-30-core-java-interview-questions-answers-for-2-to-3-years-experienced.html)\n- [Top 50 Java Collections Interview Questions](https://javarevisited.blogspot.com/2011/09/top-10-java-collection-interview.html)\n- [Top 20 Java Thread Interview Questions Answers](https://javarevisited.blogspot.com/2011/12/top-20-core-java-interview-questions.html)\n- [Top 40 Java Programming and Coding Interview Questions](https://javarevisited.blogspot.com/2013/03/40-java-programming-interview-questions.html)\n- [Top 10 Java Multithreading Interview Questions Answers](https://javarevisited.blogspot.com/2011/10/top-10-multi-threading-concurrency.html)\n- [Top 10 Java Serialization Interview Questions and Answers](https://javarevisited.blogspot.com/2011/10/10-java-serialization-interview.html)\n- [Top 10 Java Exception Handling Interview Questions Answers](https://javarevisited.blogspot.com/2011/09/java-exception-interview-questions.html)\n- [Top 15 Java NIO Interview Questions Answers](https://javarevisited.blogspot.com/2015/02/15-java-nio-interview-questions-answers.html)\n- [Top 10 JDBC Interview Questions Answers for Java Programmers](https://javarevisited.blogspot.com/2012/03/top-10-jdbc-interview-questions-answers.html)\n- [Top 10 Java Concurrency Interview Questions and Answers](https://javarevisited.blogspot.com/2015/09/java-concurrency-interview-questions-answers.html)\n- [50 Java Coding Interview Questions for Programmers](https://www.java67.com/2012/09/top-50-java-coding-interview-questions.html)\n- [20 Core Java Interview Questions from Investment Banks](https://www.java67.com/2013/05/20-core-java-interview-questions-answers.html)\n- [10 OOP Design Principles Java Programmer should know](https://www.java67.com/2012/09/10-object-oriented-design-principles.html)\n- [20 Java Collections and Generics Interview Questions](https://www.java67.com/2012/09/java-collection-interview-questions.html)\n- [15 Serialization Interview Questions in Java](https://www.java67.com/2012/09/15-serialization-interview-questions-in-java.html)\n- [10 Exception Handling Interview Questions in Java](https://www.java67.com/2012/10/10-exception-handling-interview.html)\n- [10 Concurrency and Multithreading Interview Questions](https://www.java67.com/2013/03/10-multi-threading-interview-questions.html)\n- [10 JDBC Interview Questions for Java Programmers](https://www.java67.com/2012/09/jdbc-interview-questions-for-java.html)\n- [Top 10 Java Concurrency Interview Questions](https://www.java67.com/2016/05/10-concurrency-multi-threading-interview-questions-answers.html)\n- [Top 10 Core Java Interview Questions for Beginners](https://www.java67.com/2018/04/top-10-core-java-interview-questions-answers-for-beginners.html)\n- [Top 10 Java String Interview Questions](https://www.java67.com/2015/10/21-string-coding-interview-question-and-answers.html)\n\n\n## Java Interview Cheat Sheet\n![Java Interview Cheat Sheet](https://github.com/user-attachments/assets/51f017b6-8bc3-4f7b-872d-f8c66be6280b)\n\n","created_at":"2026-01-18T07:35:28.662Z","updated_at":"2026-04-13T06:00:35.320Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["Best Java Interview Prep Courses","Best Java Interview Prep Books","Core Java","OOP Concepts","Collections","Multithreading and Concurrency","Design Patterns","Serialization","String","Array","Linked List","Recursion","Miscelleneous","Java Interview Cheat Sheet","Coding Problems"],"sub_categories":[],"projects_url":"https://awesome.ecosyste.ms/api/v1/lists/javabuddy%2Fawesome-java-interview-resource/projects"}