-
Software Development
9 Differences between TCP and UDP Protocol – Java Network Interview Question
TCP and UDP are two transport layer protocols, which are extensively used in internet for transmitting data between one host…
Read More » -
Core Java
Top 5 Java Performance Tuning Books – Best of Lot, Must read
Why Java developer should read a book on Performance tuning? When I first faced this question long time back, I…
Read More » -
Core Java
Top 50 Java Thread Interview Questions Answers for Freshers, Experienced Programmers
You go to any Java interview, senior or junior, experience or freshers, you are bound to see couple of questions…
Read More » -
Core Java
How to use CopyOnWriteArraySet in Java with Example
CopyOnWriteArraySet is little brother of CopyOnWriteArrayList class. These are special purpose collection classes which was added on JDK 1.5, along…
Read More » -
Core Java
SynchronousQueue Example in Java – Producer Consumer Solution
SynchronousQueue is special kind of BlockingQueue in which each insert operation must wait for a corresponding remove operation by another…
Read More » -
Core Java
Law of Demeter in Java – Principle of least Knowledge – Real life Example
Law of Demeter also known as principle of least knowledge is a coding principle, which says that a module should…
Read More » -
Core Java
Double Checked Locking on Singleton Class in Java
Singleton class is quite common among Java developers, but it poses many challenges to junior developers. One of the key…
Read More » -
Core Java
Why use SerialVersionUID inside Serializable class in Java
Serialization and SerialVersionUID is always remains a puzzle for many Java developers. I often see questions like what is this…
Read More » -
Core Java
How to find Prime Factors of Integer Numbers in Java – Factorization
One of the common homework/task in programming courses is about Prime Factorization. You are asked to write a program to find…
Read More »