Difference between parallel and concurrent process.

The terms concurrency and parallelism are often used in relation to multithreaded programs.Concurrency and parallelism are two related but distinct concepts. Concurrency means, essentially, that task A and task B both need to happen independently of each other, and A starts running, and then B starts before A is finished. There are various different ways of accomplishing concurrency. One […]

Continue Reading

Java Interview Question for Experience Developer

HashMap internal implementation in full detail, what if hashcode() method returning constant value. Is there any enhancement in Java 8 and Java 9 for HashMap ? What is volatile, what is difference b/w volatile and static variable,when volatile variable fails ? Singleton design pattern in detail and where it fails and what is the remedy […]

Continue Reading

Callable and Runnable in Java

What is difference between Callable and Runnable in Java, is very important and frequntly asked question in interview these days if interviewer wants to know your understanding on java threading. Runnable and Callable ,both are interfaces in java which provides way to create thread in java .Runnable Interface was part of JDK since JDK 1.0. […]

Continue Reading

History of Java (JDK) Versions

Java SE 10 (AKA Java 18.3) Java 10 will use the new versioning convention set out by Oracle[297] this will see the version numbers following a YY.M format. So far the versions announced using this format are 18.3 non-LTS in March 2018 and 18.9 LTS in September 2018[298]. There is speculation of introducing objects without identity (value […]

Continue Reading