Code Pumpkin

Tag Archives: Synchronization

Wissen Infotech Interview Questions – Set 2

July 19, 2018
Posted by Rahul Chudasama

I have appeared for Senior Java Developer Position at Wissen Infotech and It was my 3rd round. Interviewer mainly focused on Multithreading. He started with basic multithreading questions and moved to internals of Concurrent Utils. Here I am listing down some of the interesting questions he asked. What is the difference between notify() and notifyAll()? (Answer) How can […]

Singleton Design Pattern Using Double Checked Locking

This is our second article in the series of Singleton Design Pattern.  In this article, we will see different thread safe approaches for lazy Initialization Singleton Design Pattern like Using Synchronized getInstance() method, Double checked locking approach and Bill Pugh Implementation using Inner class. For navigating to the other articles on Singleton Design Pattern, please refer table of contents on the right […]

Morgan Stanley Interview Questions – Set 6

October 8, 2017
Posted by Pumpkin

I have appeared for Sr Java Developer position at Synechron Technologies. I cleared three F2F interview rounds of Synechron. I had also cleared two telephonic rounds with Synechron's client Morgan Stanley. After that I was invited for last two F2F rounds with Morgan Stanley at Bangalore. Overall experience was very good. Synechron has provided TO and FRO flight […]

Morgan Stanley Interview Questions – Set 4

October 8, 2017
Posted by Abhi Andhariya

I have appeared for Sr Java Developer position at Synechron Technologies. This was my first round with Synechron's client Morgan Stanley. It was a telephonic round. Duration : 1 hour Introduction Please tell me about technologies you have worked on, your current project and  your roles and responsibility in it. Core Java How HashMap works […]

Hashtable vs SynchronizedMap vs ConcurrentHashMap

Java Collection classes are heart of Java API.  It is essential to use built-in java collections like HashMap, ArrayList or LinkedList for accessing, storing and processing data in java applications. For Example, we have extensively used HashMap to transfer data between two layers of our MVC framework.   In all core java interviews, you will definitely face questions on […]

Synechron Interview Questions – Set 1

September 20, 2017
Posted by Pumpkin

Synechron had arranged walk-in drive at Ahmedabad location for multiple opening at Mumbai, Pune and Bangalore location.  I have appeared for Sr Java Developer position. I got a call from Ethos HR consultancy and interview was scheduled at the office of Ethos HR, Ahmedabad. Arrangement by Ethos HR was very poor and unprofessional. However, interviewers were very […]

Wissen Infotech Interview Questions – Set 1

September 12, 2017
Posted by Rahul Jain

I have appeared for Java Developer requirement at Wissen Infotech, Bangalore Location. Requirement was for their client Morgan Stanley and it was my second technical round. It was a telephonic interview. Duration : 1 hour Core Java What is the difference between CountDownLatch and CyclicBarrier.  (Answer) What is the time complexity of put() and get() operation […]

CountDownLatch Vs CyclicBarrier | Java Concurrency Utilities

CountDownLatch Vs CyclicBarrier : Though both are used as a synchronization aid that allows one or more threads to wait but there are certain differences between them that you should know in order to know when one of these utilities will serve you better.  As per the java.util.concurrent API,  CountDownLatch: A synchronization aid that allows one or more threads to […]

CyclicBarrier | Java Concurrency Utilities

May 25, 2017
Posted by Abhi Andhariya

CyclicBarrier  was introduced in Java 5 along with other concurrent classes like CountDownLatch, ConcurrentHashMap, CopyOnWriteArrayList, BlockingQueue within java.util.Concurrent package. There are scenarios in concurrent programming when you want set of threads to wait for each other at a common point until all threads in the set have reached that common point.  The java.util.concurrent.CyclicBarrier class is a barrier that […]

CountDownLatch in Java Concurrency Utilities

May 5, 2017
Posted by Abhi Andhariya

CountDownLatch in Java Concurrency is a type of synchronizer which allows one Thread to wait for one or more Threads before it starts processing. You can implement the same functionality using wait() & Notify() mechanism but it requires lot of code and getting it write in first attempt is tricky,  With CountDownLatch it can  be done in […]

Previous Posts
Total Posts : 112
follow us in feedly
Contribute Your Articles

Subscribe Us

Like Us On Facebook