Code Pumpkin

Tag Archives: Core 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 […]

Sapient Global Markets Interview Questions – Set 2

September 12, 2017
Posted by Rama Prasad

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

September 9, 2017
Posted by Rama Prasad

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

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

Program to check if a given number is power of two or not?

August 20, 2017
Posted by Abhi Andhariya

In this post, we will discuss about one of the easiest and commonly asked Bit Manipulation Interview Question i.e. Write a program to check if a given number is power of two or not?   This post is continuation of our previuos article Program To Find Number Of Set Bits In The Number.  Both of the approach […]

Program to find number of set bits in the Binary number

August 20, 2017
Posted by Abhi Andhariya

In this post, we will discuss about one of the easiest and commonly asked Bit Manipulation Interview Question i.e. Find total number of set bits in the given number?  There are many approach to solve this problem. Here, we will discuss about below two approaches: & and >> Approach (Naive Approach) Brian Kernighan's Approach 1) & and >> Approach […]

Previous Posts Next posts
Total Posts : 124
follow us in feedly

Like Us On Facebook