Core Java
-
40 Java Collections Interview Questions and Answers
Java Collections Framework are the fundamental aspect of java programming language. It’s one of the important topic for java interview…
Read More » -
Static factory methods vs traditional constructors
I’ve previously talked a little bit about the Builder Pattern, a useful pattern to instantiate classes with several (possibly optional)…
Read More » -
The ins and outs of immutability
So in my first post I talked a little bit about the builder pattern and I mentioned a really powerful…
Read More » -
The builder pattern in practice
I’m not going to dive into much details about the pattern because there’s already tons of posts and books that…
Read More » -
Implementing Producer/Consumer using SynchronousQueue
Among plenty of useful classes which Java provides for concurrency support, there is one I would like to talk about:…
Read More » -
One jar to rule them all
Trip down the memory lane Back in 1998, when I was a C/C++ developer, trying my hands on Java, a…
Read More » -
Iterator Pattern and Java
Hello all, in this post we’ll be checking on the Iterator Pattern. A design pattern that I know many of…
Read More » -
10 XML Interview questions and answers for Java Programmer
XML Interview questions are very popular in various programming job interviews, including Java interviews for web developer. XML is a…
Read More » -
Java Memory Model and optimisation
Overview Many developers of multi-threaded code are familiar with the idea that different threads can have a different view of…
Read More »