·
http://www.java67.com/2018/04/21-string-programming-and-coding-interview-questions-answers.html
·
·
https://www.java67.com/2019/07/top-50-java-generics-and-collection-interview-questions.html
//core java not only generics
·
http:// javarevisited.blogspot.com/2015/10/133-java-interview-questions-answers-from-last-5-years.html
·
http://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html
·
http://javarevisited.blogspot.sg/2011/11/collection-interview-questions-answers.html
·
http://javarevisited.blogspot.com/2017/07/top-50-java-programs-from-coding-Interviews.html //coding qs
https://javarevisited.blogspot.com/2021/05/java-8-stream-lambda-expression-d.html //java8 interview questions
https://www.java67.com/2016/03/how-to-get-arraylist-from-stream-in-java8- example.html
·
How to use Lambda Expression
in Place of Anonymous class (read here)
·
How to use Map
function in Java 8 (see more)
·
How to use the Default
method in Java 8. (see here)
·
Java 8 Comparator
Example (see
example)
·
Free Java 8 tutorials
and Books (read the
book)
·
Top 10 tutorials to
Learn Java 8 (read here)
·
How to convert the
stream to array in Java 8 (tutorial)
·
Java 8 Certification
FAQ (guide)
·
Java 8 Mock Exams and
Practice Test (test)
·
5 New Java Features
Every Java Developer should Lear (Java
features)
·
21 Tech Skills Java
Programmers should learn (Java skills)
Read more: https://javarevisited.blogspot.com/2015/02/how-to-filter-collections-in-java-8.html#ixzz76eaGJJKB
·
Best books to learn
Java 8 (resource)
·
10 Example of Joining
String in Java 8 (see here)
·
10 Example of
forEach() method in Java 8 (example)
·
20 Example of
LocalDate and LocalTime in Java 8 (see here)
·
Difference between
map() and flatMap() in Java 8 (answer)
·
5 Books to Learn Java
8 and Functional Programming (list)
·
How to use Stream.flatMap
in Java 8(example)
·
How to use
Stream.map() in Java 8 (example)
·
How to use filter() in
Collections with predicate and streams (tutorial)
·
10 Example of Stream
API in Java 8 (see here)
·
How to convert
java.util.Date to java.time.LocalDate in Java 8? (tutorial)
40+ Object-Oriented Interview
Questions with Answers (questions)
20+ JUnit Interview Questions
for Java developers (questions)
50+ SQL and Database Phone Interview questions (SQL
questions)
Read more: https://javarevisited.blogspot.com/2021/05/java-8-stream-lambda-expression-d.html#ixzz76ekdRbT3
https://javarevisited.blogspot.com/2016/01/3-ways-to-loop-over-set-or-hashset-in-java.html
http://javarevisited.blogspot.com/2015/03/5-ways-to-convert-java-8-stream-to-list.html
20 Examples of Date and Time in
Java 8 (tutorial)
·How to use Stream class in Java 8 (tutorial)
·How to use filter() method in Java 8 (tutorial)
·How to use forEach() method in Java 8 (example)
·How to join String in Java 8 (example)
·How to convert List to Map in Java 8 (solution)
·How to use peek() method in Java 8 (example)
·5 Books to Learn Java 8 from Scratch (books)
·How to convert the stream to array in Java 8 (tutorial)
·Java 8 Certification FAQ (guide)
·Java 8 Mock Exams and Practice Test (test)
http://javarevisited.blogspot.sg/2015/08/difference-between-HashMap-vs-TreeMap-vs-LinkedHashMap-Java.html
http://www.java67.com/2012/08/difference-between-hashmap-and-LinkedHashMap-Java.html
http://javarevisited.blogspot.sg/2012/12/how-to-remove-duplicates-elements-from-ArrayList-Java.html
The
Complete Java Developer RoadMap
· Java 8
filter + map + collect example
· How to join String in Java 8
· 5 Free
Online Courses to Learn Java 8 and 9
· How to sort the map by keys in
Java 8?
· How to
sort HasMap by values in Java 8?
· 10 examples of Optional in Java
8?
· How to use the forEach method in
Java 8
· How to use the filter method in
Java 8
· 10
Examples of Stream in Java 8
· How to
sort a Map by values in Java 8
·
5 Course
to Master Java 8 Programming
Read more: https://www.java67.com/2017/10/java-8-convert-arraylist-to-hashmap-or.html#ixzz771G7anD7
http://javarevisited.blogspot.sg/2013/05/ava-tips-and-best-practices-to-avoid-nullpointerexception-program-application.html
How to use Decorator pattern
in Java with Example
How to Split String in Java
Program
Benefits of Observer Pattern
in Java with Example
10 best practices to follow
while writing code comments
10 tips to debug java program
in Eclipse
Code review checklist for a
programmer
Other Interview
Questions You May Like
- 10 tough Core Java interview questions and answers
- 50+ Java Multithreading Questions from Last 3 years
- Spring FAQ and Interview questions answers
- 50+ Programmer Phone Interview Questions with
answers
- 10 Java coding questions asked in Interviews
- 133 Core Java Interview
Questions from last 5 years
- 101 Coding Problems and few
tips for Job Interviews
- 20+ Spring Boot Interview
Questions with Answers
- 15 Spring AOP Interview
Questions for Java Programmers
- 20+ Spring Boot Testing
Interview Questions with Answers
- 15 Spring Data JPA Interview
Questions with Answers
- 15 Spring Cloud Interview
Questions with Answers
- 15+ Microservice Questions for
Java Programmers
Read more: https://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html#ixzz7CenLQTPO
Other Interview Questions Articles you may like to explore
- Top 10 Spring Framework Interview
Questions with Answers (see
here)
- 50+ Data Structure and Algorithms
Problems from Interviews (questions)
- 10 Hibernate Interview Questions for
Java EE developers (see
here)
- 10 XML Interview Questions for Java
Programmers (read
here)
- 20 Java Design Pattern Questions asked
on Interviews (see
here)
- 10 Struts Interview Questions for Java
developers (list)
- 10 Servlet Interview Questions with
Answers (see
here)
- 20 jQuery Interview Questions for Java
Web Developers (list)
- 10 Great Oracle Interview Questions for
Java developers (see
here)
- Top 10 JSP Questions from J2EE
Interviews (read
here)
- 12 RESTful Web Services Questions from
Interviews (read
here)
- Top 10 EJB Interview Questions and
Answers (see
here)
- Top 10 JMS and MQ Series Interview
Questions and Answers (list)
- Review these 50 Java questions before
interviews (review)
- 10 JDBC Interview Questions for Java
Programmers (questions)
- 15 Java NIO and Networking Interview
Questions with Answers (see
here)
- Top 10 XSLT Interview Questions with
Answers (read
more)
- 15 Data Structure and Algorithm
Questions from Java Interviews (read here)
- Top 10 Trick Java Interview Questions
and Answers (see
here)
- Top 40 Core Java Phone Interview
Questions with Answers (list)
Other
Java threading tutorial you may like:
When to use Thread or Runnable interface in Java?
What does Volatile keyword do in Java
How to prevent deadlock in Java Code
How to implement Thread in Java
How to deal with the blocking
method in Java
How to use Factory Design
pattern in Java
Read more: https://javarevisited.blogspot.com/2012/02/producer-consumer-design-pattern-with.html#ixzz7CrfXK8nT
Other Interview
Questions You May Like
- 10 tough Core Java interview questions and answers
- 50+ Java Multithreading Questions from Last 3 years
- Spring FAQ and Interview questions answers
- 50+ Programmer Phone Interview Questions with
answers
- 10 Java coding questions asked in Interviews
- 133 Core Java Interview
Questions from last 5 years
- 101 Coding Problems and few
tips for Job Interviews
- 20+ Spring Boot Interview
Questions with Answers
- 15 Spring AOP Interview
Questions for Java Programmers
- 20+ Spring Boot Testing
Interview Questions with Answers
- 15 Spring Data JPA Interview
Questions with Answers
- 15 Spring Cloud Interview
Questions with Answers
- 15+ Microservice Questions for
Java Programmers
Read more: https://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html#ixzz7CxNVbfhV
Recommended Resources for
Coding Interviews
- Data Structures and
Algorithms: Deep Dive Using Java
- Algorithms and Data Structures
- Part 1 and 2
- Grokking the System Design
Interview
- Cracking the Coding Interview
- 189 Questions and Solutions
- Grokking the Coding Interview:
Patterns for Coding Questions
- The Coding Interview Bootcamp:
Algorithms + Data Structures
- 50+ Data Structure and
Algorithms Interview Questions
- 20+ Basic Algorithms Questions
from Interviews
- 10 Data Structure and
Algorithms Courses to Crack Coding Interview
- 10 ways to use HashMap in
Java
- How to get method of
HashMap works in Java
- 20
Spring and REST Interview Questions
- 75
Coding Questions to Crack Any Programming Interview
- 100+
Data Structure and Algorithm Questions
- 10
Courses to learn Java for Beginners
- My
Favorite books to learn Java Programming in depth
Read more: https://www.java67.com/2012/09/top-10-tough-core-java-interview-questions-answers.html#ixzz7CxU50HlJ
18 Java design pattern question asked in interviews
10 Java coding interview questions answer for 2 to 4 years
experience
Top 21 Most Frequently Asked Java Questions and Answers
133 Core Java Interview Questions from last 5 years
Top 50 Multithreading and Concurrency Interview Questions
21 Frequently asked SQL queries from Java Interviews
20 Spring and REST Interview
Questions
75 Coding Questions to Crack Any
Programming Interview
100+ Data Structure and Algorithm
Questions
10 Courses to learn Java for
Beginners
My Favorite books to learn Java
Programming in depth
Read more: https://www.java67.com/2012/09/top-10-tricky-java-interview-questions-answers.html#ixzz7CxUt3kKV
Other Java
Interview articles from Java67 Blog
- 10 tough Java Interview Questions with Answer
- 10 Java design pattern Interview question with Answer
- 10 Java collection Interview questions with Answer
- Spring MVC frequently asked Question in Interviews
- 5 Java Thread Interview Questions with Answer
- 15 Spring Boot Interview
Questions for Java Developers
- 100+ Data Structure and
Algorithms Interview Questions
- 75+ Programming Interview
Questions for Beginners
- Top 30 OOP Concept Interview
Questions for Java Developers
- 40+ Advanced Java Interview
Questions with Answers
- 10 SQL Query Interview Questions
for Programmers
- 10 Courses to prepare for Java
and Programming Interviews
Related
Java EE Interview Questions
For my Java EE friends, here are web development
specific questions, which you can use to prepare for JEE part:
- Top 10 Spring Framework
Interview Questions with Answers (see here)
- 10 Great XML Interview
Questions for Java Programmers (read here)
- 20 Great Java Design Pattern
Questions asked on Interviews (see here)
- 10 popular Struts Interview
Questions for Java developers (list)
- 20 Tibco Rendezvous and EMS
Interview Questions (read more)
- 10 frequently asked Servlet
Interview Questions with Answers (see here)
- 20 jQuery Interview
Questions for Java Web Developers (list)
- 10 Great Oracle Interview
Questions for Java developers (see here)
- Top 10 JSP Questions
from J2EE Interviews (read here)
- 12 Good RESTful Web Services
Questions from Interviews (read here)
- Top 10 EJB Interview
Questions and Answers (see here)
- Top 10 JMS and MQ Series
Interview Questions and Answers (list)
- 10 Great Hibernate Interview
Questions for Java EE developers (see here)
- 10 Great JDBC Interview
Questions for Java Programmers (questions)
- 15 Java NIO and Networking
Interview Questions with Answers (see here)
- Top 10 XSLT Interview
Questions with Answers (read more)
- 15 Data Structure and
Algorithm Questions from Java Interviews (read here)
- Top 10 Trick Java Interview
Questions and Answers (see here)
- Top 40 Core Java Phone
Interview Questions with Answers (list)
- 10 Advanced Core Java Interview
Questions for Programmers (see
here)
- 15 Java Enum based Interview Questions
with Answers (check
here)
- 21 Frequently asked Java Questions with
Answers (see
here)
- Top 10 Linux and UNIX Interview
Questions for Java Programmers (check
here)
- Top 20 SQL Query Interview Questions (see
list)
- Java Interview Questions for 2 to 3
Years Experienced Programmers (see
here)
- 12 Multithreading and Concurrency
Questions for Java Developers (check
here)
- 10 Tough Java Questions from Interviews
(see
list)
- Top 11 Coding Questions from Java
Interviews with Answers (see
here)
- 18 Java Design Pattern Questions for
Senior Developers (see
here)
- 15 Tricky Questions from Java
Interviews with Answers (check
here)
- 100+ Data Structure and Algorithms
Interview Questions (list)
- 75 Programming Interview Questions for
Beginners (list)
- 21 String Coding Problem from Java Interviews
with Solution (list)
- 21+ Spring MVC Interview Questions with
Answers (questions)
- 15 Spring Boot Interview Questions for
Java Developers (spring
boot)
Related Interview
Questions from Java67 blog
- 10 most asked SQL Query
Interview Questions
- 10 tricky questions asked
on Java Interviews
- Java Interview Questions
for 3 years experienced Programmers
- 10 ways to use HashMap in
Java
- How does get method of
HashMap works in Java
- 20
Spring and REST Interview Questions
- 75
Coding Questions to Crack Any Programming Interview
- 100+
Data Structure and Algorithm Questions
- 10
Courses to learn Java for Beginners
- My
Favorite books to learn Java Programming in depth
Read more: https://www.java67.com/2012/08/10-advanced-core-java-interview.html#ixzz7CxYsHAJl
Related Java
Collection Articles you may like
- Difference between ConcurrentHashMap
and HashMap in Java (answer)
- My favorite Courses to learn Java
Collections (best
courses)
- 5 Difference between HashMap and
Hashtable in Java (answer)
- 10 Advanced Core Java Courses for
Programmers (advanced
courses)
- How to sort HashMap in Java by keys (example)
- 5 Free Java Programming Courses for
Beginners (free
courses)
- How to get key from HashMap by
passing values (example)
- 50+ Java Collection Interview Questions
with Answers (questions)
- 10 Example of Concurrent HashMap in
Java (examples)
- 21 HashMap Interview questions for Java
Programmers (questions)
- 5 Best Courses to learn Java Collection
Framework (courses)
- 2 ways to sort HashMap in Java? (examples)
- How to sort HashMap by values in Java
8? (example)
- Difference between HashMap,
LinkedHashMap, and TreeMap in Java (answer)
·
LinkedHashSet, TreeSet, and
HashSet are frequently used Set implementations.
·
See here for
more differences between List and Set data structure in Java.
·
the most popular implementations of the Set
interface are HashSet, LinkedHashSet, and TreeSet. The
first one is a general-purpose Set which is backed by HashMap, see how
HashSet works internally in Java for more details.
·
see Java
Collections from basics to Advanced Udemy
course to learn more about it
·
Comparator or Comparable in
Java
·
difference between HashSet
and HashMap in Java
·
When to use Vector or
ArrayList
http://javarevisited.blogspot.sg/2011/12/treemap-java-tutorial-example-program.html
Read more: https://www.java67.com/2013/01/difference-between-set-list-and-map-in-java.html#ixzz7EGjIZGiC
Other Java Collection Articles you may like
- How to
sort a Map by keys and values in Java? (tutorial)
- Top 10 Courses
to learn Java for Beginners (best courses)
- How to sort an
ArrayList in ascending and descending order in Java? (tutorial)
- 10 Free courses
to learn Java in-depth (courses)
- The difference
between HashMap and ConcurrentHashMap in Java? (answer)
- 10 courses to
learn Data Structure in-depth (courses)
- The difference
between HashMap and LinkedHashMap in Java? (answer)
- Difference
between ArrayList and HashSet in Java? (answer)
- Top 5 Courses to
learn Java Collections and Stream (courses)
- What is the
difference between TreeMap and TreeSet in Java? (answer)
- The difference
between HashSet and TreeSet in Java? (answer)
- 7 Best Courses
to learn Data STructure and Algorithms (best courses)
- 20+ basic
algorithms interview questions for programmers (questions)
- Top 5 Courses to
become full-stack Java developer (courses)
- The difference
between Hashtable and HashMap in Java? (answer)
- 50+ Core Java
Interview Questions and Answers (questions)
Read more: https://www.java67.com/2012/12/difference-between-arraylist-vs-LinkedList-java.html#ixzz7EGrXtyMV
common
Java collections interview questions
Java
Fundamentals: Collections by Richart Warburton
How to make ArrayList
synchronized in Java
They
are different than CopyOnWriteArrayList whose Iterator is fail-safe.
difference between Hashtable
and ConcurrentHashMap
You can also check out these Java Collections
courses to
learn more about how concurrent collection works.
Related Java 8 Tutorials
If you are interested in learning more about the
new features of Java 8, here are my earlier articles covering some of the
important concepts of Java 8:
- Top 5 Java 8 Courses for
Programmers (courses)
- 20 Examples of Date and
Time in Java 8 (tutorial)
- 5 Books to Learn Java 8
from Scratch (books)
- How to join String in Java
8 (example)
- How to use forEach()
method in Java 8 (example)
- How to use filter() method
in Java 8 (tutorial)
- 10 examples
of Optionals in Java 8? (example)
- How to use Stream class in
Java 8 (tutorial)
- How to use peek() method
in Java 8 (example)
- How to convert List to Map
in Java 8 (solution)
- How to format/parse the
date with LocalDateTime in Java 8? (tutorial)
- How to sort the map by
keys in Java 8? (example)
- 10 Java 8 Stream and
Functional Programming Interview Questions (answers)
- How to use findFirst()
method of Stream in Java 8 (example)
- Java 8 map + filter +
collect + stream example (tutorial)
If you don't mind learning from free resources
then you can also check out this list of free Java 8 and
Java 9 courses to learn better.
http://java67.blogspot.com/2012/09/java-collection-interview-questions.html
Related Java Collections Interview Questions
- The difference
between HashSet and TreeSet in Java? (answer)
- The difference
between ArrayList and HashSet in Java? (answer)
- The difference
between Hashtable and HashMap in Java? (answer)
- The difference
between HashMap and LinkedHashMap in Java? (answer)
- The difference
between ConcurrentHashMap and HashMap in Java? (answer)
- The difference
between ArrayList and Vector in Java? (answer)
- The difference
between ArrayList and LinkedList in Java? (answer)
·
difference between list and
map
Read more: https://www.java67.com/2012/08/difference-between-hashmap-and-ArrayList-in-Java.html#ixzz7EIIOeW1L
If you are looking for some quality interview
questions you can also check
Why String is immutable in
Java
Top 20 core Java interview
questions in Java
10 Java Singleton pattern
interview questions
10 interview questions on
java serialization
15 multi-threading interview
questions asked in Investment banks
Difference between iterator and Enumeration:
This question is from the early
ages of Java interview, I have not seen this question in recent
interviews but
it was quite common during the 2000 to 2007 period, nowadays questions like
the implementation of HashMap or ConcurrentHashMap, etc has taken their place.
Read more: https://javarevisited.blogspot.com/2010/10/what-is-difference-between-enumeration.html#ixzz7EMW2Yf9V
If you like this article and hungry for more
Interview questions from the Java Collection framework then please check the
following articles from this blog :
- Difference
between an array and ArrayList in Java? (answer)
- How to
synchronize ArrayList in Java? (answer)
- When to use
ArrayList and LinkedList in Java? (answer)
- Difference
between ArrayList and HashSet in Java? (answer)
- Difference
between Vector and ArrayList in Java? (answer)
- Difference
between HashMap and ArrayList in Java? (answer)
- How to convert
ArrayList to String in Java? (answer)
- Difference
between length() of array and size() of ArrayList in Java? (answer)
- How to sort
ArrayList in descending order in Java? (answer)
- How to remove
duplicates from ArrayList in Java? (solution)
·
2 ways to remove objects from
ArrayList.
Read more: https://www.java67.com/2015/06/what-is-fail-safe-and-fail-fast-iterator-in-java.html#ixzz7EMa23zmB
If you are eager to learn the difference between
ArrayList and other Collection classes e.g. HashSet, array, and others, then
you would love to check out my following articles as well :
- What is the
difference between an array and an ArrayList in Java? (answer)
- What is the
difference between ArrayList and Vector in Java? (answer)
- The difference
between LinkedList and ArrayList in Java? (answer)
- What is the
difference between HashSet and ArrayList in Java? (answer)
- What is the
difference between ArrayList and HashMap in Java? (answer)
ConcurrentHashMap
for Hashtable
http://javarevisited.blogspot.sg/2011/12/checked-vs-unchecked-exception-in-java.html
Further Learning
10 must
know Java Collection interview question for 2 years experience programmer
5
Difference between Hashtable and HashMap in Java
Difference
between ArrayList and HashSet in Java
Java
program to sort Array List in ascending and descending order
Other Java Generics tutorials you
may like to explore
- How Generics works
internally in Java? (tutorial)
- How to create
parameterized classes and methods in Java? (example)
- 12 Advanced Java
Programming Books for Experienced Programmers (books)
- 10 Tips to become a better
Java Programmer (tips)
- How to prepare for Spring
Certification? (guide)
- 15 Spring Data JPA
Interview Questions (spring data jpa questions)
- 3 Best Practices Java
Developers Can learn from Spring (article)
- Difference
between @Autowired and @Injection annotations in Spring? (answer)
- 5 Spring and Hibernate
online courses for Java developers (list)
- What is the difference
between bounded and unbounded wildcards in Generics? (answer)
- How to implement a single
linked list using Generics in Java? (tutorial)
- 5 Spring Boot courses for
Java developers (courses)
- 5 courses to learn
Microservices with Spring Boot and Spring Cloud (courses)
- 20+ Spring Boot Testing
Questions (spring boot testing questions)
Interview
Questions
- core java
interview question (174)
- data
structure and algorithm (80)
- Coding
Interview Question (75)
- interview
questions (70)
- design
patterns (35)
- SQL
Interview Questions (34)
- object
oriented programming (34)
- thread
interview questions (30)
- spring interview
questions (28)
- collections
interview questions (25)
- database
interview questions (16)
- servlet
interview questions (15)
- Programming
interview question (6)
- hibernate
interview questions (6)
https://javarevisited.blogspot.com/2012/04/what-is-bounded-and-unbounded-wildcards.html
Java Generics Interview
questions
http://www.java67.com/2015/06/20-java-arraylist-interview-questions.html
Other Java Collection articles you may like to
explore
- Difference
between fail-safe and fail-fast Iterator in Java? (answer)
- Difference between
Hashtable and HashMap in Java? (answer)
- Difference
between TreeMap and TreeSet in Java? (answer)
- Difference between
ArrayList and LinkedList in Java? (answer)
- Difference
between HashMap and LinkedHashMap in Java? (answer)
- Difference between
EnumMap and HashMap in Java
- Difference between
ArrayList and HashSet in Java? (answer)
- Difference
between HashSet and TreeSet in Java? (answer)
- Difference between
HashMap and ConcurrentHashMap in Java? (answer)
- Difference
between Vector and ArrayList in Java? (answer)
- Difference
between IdentityHashMap, WeakHashMap, and EnumMap in Java? (answer)
You
can also join Java
Collections from basics to Advanced course on Udemy to
learn more about these classes and the Java Collection framework.
difference between ConcurrentHashMap and
HashMap
· 21 skills Java Programmer Should
Learn
· 10 Frameworks Java developers
should learn
· Difference between HashMap and ArrayList in Java
· 7 Best Courses to learn Java
Collections and Stream API
· When to use Map, List, and Set collection in Java
· 10 Advanced Core Java Courses for
Programmers
· Difference between HashMap and HashSet in Java
· 8 Best Java Functional Programming
Courses
· Difference between IdentityHashMap and HashMap in Java
· 50+ Java Collection Interview
Questions with Answers
· Top 5 Courses to become a Fullstack
Java Developer
Read more: https://www.java67.com/2013/02/10-examples-of-hashmap-in-java-programming-tutorial.html#ixzz7HmZ1NnLt
equals()
and hashCode() contract
difference
between Hashtable and ConcurrentHashMap
· 10 equals and hashcode interview
questions
· 21 String Programming and Coding Interview Questions
· How to print Fibonacci series in Java using recursion
· What is the difference between StringBuffer and String in
Java
· Difference between TreeSet and TreeMap in Java