Code Pumpkin

Tag Archives: Java

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

String Pool | Java

September 2, 2017
Posted by Dipen Adroja

String pool in Java is a pool of String literals and interned Strings in JVM for efficient use of String object. Since String is Immutable Class In Java, it makes sense to cache and shares them in JVM. Java creators introduced this String pool construct as an optimization on the way String objects are allocated […]

Access Modifiers in Java

September 2, 2017
Posted by Dipen Adroja

In this article, we will discuss one of the basic feature of Java- Access Modifiers. As the name suggests access modifiers in Java helps to restrict the scope of a class, constructor, variable, method or data member. Assigning an access modifier to a class, constructor, field or method is also sometimes referred to as "marking" that […]

Morgan Stanley Interview Questions – Set 1

August 26, 2017
Posted by Rahul Jain

Recently I have appeared for Java developer interview at the Morgan Stanley, Mumbai. It was a Video conference interview. Here are the set of questions asked to me :   Tell me about your current project and your roles and responsibility. Write a java function to reverse a string using recursion Write a java program […]

Types of Class Loader | Delegation Algorithm | JVM Internals

August 13, 2017
Posted by Riteeka Rathod

In previous articles, we learned about JVM architecture and one of its component Class Loader SubSystem. In this article,  we will discuss about Types of Class Loaders and How Class Loader uses Parent delegation Algorithm to load the class. If you have not gone through previous article on JVM Internals, I would encourage you to read that first. […]

Class Loader SubSystem | JVM Internals

August 5, 2017
Posted by Riteeka Rathod

​In our previous article of JVM internals series, we learned about what is JVM, basic architecture of JVM and briefly understood its components. In this article we will discuss in detail about Class Loader SubSystem component of JVM architecture . Class Loader SubSystem Java’s dynamic class loading functionality is handled by the Class Loader SubSystem. […]

JVM Architecture Introduction | JVM Internals

July 26, 2017
Posted by Riteeka Rathod

Being a java developer, it is expected from us to have basic knowledge of JVM architecture, as it enables us to write code more efficiently. Also from the interview perspective JVM architecture, Class loader subsystem, JVM memory management are frequently discussed topics with 3-5 year experienced java developer. If you are able to answer these questions, you will create good impression […]

What is the use of private constructor in java?

In Java, we can use any access modifier (i.e. public, protected or private) with constructor.  So, what are the uses of making constructor private? First thing that strikes your mind is Singleton Design Pattern which is also one of the most asked Core Java Interview Question to the 3-4 yr exp Java developers.  Apart from creating singleton class, private constructor […]

Previous Posts Next posts
Total Posts : 96
Contribute Your Articles

Subscribe Us

Like Us On Facebook