Code Pumpkin

Tag Archives: Java

Subscribe

Find from where java class is loaded | Class Loader SubSystem

November 1, 2017
Posted by Pumpkin

In previous article, we discussed about 3 activites of Class Loader SubSystem i.e. Loading, Linking, Initialization and its Types of Class Loader  i.e. Bootstrap Class Loader or primordial Class Loader, Extension Class Loader, Application Class Loader or System Class Loader. We have also seen how these Class loader uses Delegation hierarchy algorithm  to load Classes into memory area. In this article we'll discuss more about Class Loader and how […]

What is optional and why it is there? | Java8

October 29, 2017
Posted by Pumpkin

Have you ever been tired of putting null checks all over the code to avoid any unnecessary NullPointerExceptions. Java 8 has introduced a new class Optional in java.util package. It is used to represent a value is present or absent. The main advantage of this new construct is that No more too many null checks and NullPointerException. It avoids […]

Performance Issue with HashSet RemoveAll() method

October 12, 2017
Posted by Pumpkin

In our previous article on HashSet internals, we have seen internal implementation of its add(), remove(), contains(), clear(), iterator() and isEmpty() methods. One of our readers has raised question about How efficient is HashSet removeAll() method? As it requires detailed explanation, we have decided to write separate article on it.   What does removeAll() method do? Before going into internals of […]

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 5

October 8, 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 telephonic interview round with Morgan Stanley. Duration : 30 Minute. I have also shared my interview experience with Wissen Infotech as well as my first interview round with Morgan Stanley.  Tell me about your […]

Morgan Stanley Interview Questions – Set 4

October 8, 2017
Posted by Pumpkin

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 […]

Fibonacci search

October 8, 2017
Posted by Pumpkin

In this article, we will see one more searching algorithm Fibonacci search. This searching algorithm has some similarity with Binary Search that we have seen in our last article. Both of them works on sorted arrays. Fibonacci Search is a comparison-based technique that uses Fibonacci numbers to search an element in a sorted array. Fibonacci Search Definition […]

Morgan Stanley Interview Questions – Set 3

September 28, 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 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 […]

How is HashSet implemented internally in Java?

September 27, 2017
Posted by Pumpkin

In our previous article, we have seen internal implementation of SynchronizedMap and the difference between HashMap, Hashtable, SynchronizedMap and ConcurrentMap.  In this article, we will understand how does HashSet work internally? How JDK implementers have reused HashMap effectively for HashSet implementation.   The best way to understand internal implementation of any built-in Java class is by looking into its […]

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 […]

Previous Posts

Total Post : 80
Subscribe
Contribute Your Articles

Interview Experiences

Related Books

Like Us On Facebook

Alexa Page Rank