Code Pumpkin

Tag Archives: Core Java

Subscribe

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 Pumpkin

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 Pumpkin

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 Pumpkin

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 Pumpkin

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

Class Loader SubSystem | JVM Internals

August 5, 2017
Posted by Pumpkin

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

java.util.stream – Stream APIs basics | Java8

July 29, 2017
Posted by Pumpkin

In this article we will walk through basic overview of java.util.stream package. Package java.util.stream contains classes that support functional type of operations on streams of elements, such as map-reduce transformation, filtering etc. By the end of the article we will be able to answer following questions: 1. What is streams?  2. How it can be created?  […]

JVM Architecture Introduction | JVM Internals

July 26, 2017
Posted by Pumpkin

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

Previous Posts Next posts

Total Post : 80
Subscribe
Contribute Your Articles

Interview Experiences

Related Books

Like Us On Facebook

Alexa Page Rank