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 4
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 […]
Morgan Stanley Interview Questions – Set 3
I have appeared for Java Developer requirement at Wissen Infotech, Bangalore Location. Requirement was for their client Morgan Stanley and it was my first telephonic interview round with Morgan Stanley. Duration : 1 hour. I have also shared my interview experience with Wissen Infotech as well as my second interview round with Morgan Stanley.. Introduction and Project discussion […]
Morgan Stanley Interview Questions – Set 2
I have cleared three rounds of Synechron and after that they scheduled my telephonic interview with their client Morgan Stanley. This round was more focused on Core Java, SQL and Problem solving skills. Interviewer also asked few questions on Spring framework. Problem Solving / Programming For a given interger array, find two subarray of size 2 […]
Synechron Interview Questions – Set 1
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
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 […]
Sapient Global Markets Interview Questions – Set 2
I applied for Junior Associate position (Java Developer) at Sapient Bangalore location. This was my second technical round with Sapient Global Markets, Bangalore. It was Skype interview. You can also read my article for the interview experience of first technical round at Sapient. From my interview experience with Sapient, I can say that their interviewers have some […]
Sapient Global Markets Interview Questions – Set 1
I applied for Junior Associate position at Sapient Bangalore location. Recruiter contacted me via LinkedIn. There were two technical rounds (Skype Interviews) and one managerial round. Over all experience was really good and I enjoyed entire interview process. Here are the questions asked to me in my first technical round. Write a program to swap a String […]
Threadpool using Executor Framework | Java Concurrency Utilities
The JDK 1.5 Executor framework is a combination of various Executor interfaces and Executors utility class to provide a thread pool feature in Java. In server side programming, Thread pool is an important concept to maintain scalability, robustness, and stability of the system. Thread pool is a pool of worker threads, which is ready to perform any task given to them, […]
Defining and Starting a Thread | Thread VS Runnable
Java threads are objects like any other Java objects. Threads are instances of class java.lang.Thread, or instances of subclasses of this class. In addition to being objects, java threads can also execute code. Creating and Starting Threads Here is the code to create a Thread and start its execution. // Creates Thread Object Thread thread = […]