VMware Inc interview experience Real time questions & tips from candidates to crack your interview

Java Developer

VMware Inc
upvote
share-icon
3 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Java, Spring, SQL, Data Structures and Algorithms, System Design, OOPS
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Referral
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date14 Sep 2020
Coding problem5

Technical Interview round with questions based on Spring.

1. Technical Question

What is Inversion of Control?

Problem approach

Inversion of Control is a principle in software engineering which transfers the control of objects or portions of a program to a container or framework. 
The advantages of this architecture are:
1. decoupling the execution of a task from its implementation
2. making it easier to switch between different implementations
3. greater modularity of a program
4. greater ease in testing a program by isolating a component or mocking its dependencies, and allowing components to communicate through contracts

2. Technical Question

What is Dependency Injection?

Problem approach

Dependency injection is a pattern we can use to implement IoC, where the control being inverted is setting an object's dependencies. Connecting objects with other objects, or “injecting” objects into other objects, is done by an assembler rather than by the objects themselves.

3. Technical Question

Difference between constructor and setter injection

Problem approach

1. Partial dependency: can be injected using setter injection but it is not possible by constructor. Suppose there are 3 properties in a class, having 3 arg constructor and setters methods. In such case, if you want to pass information for only one property, it is possible by setter method only.
2. Overriding: Setter injection overrides the constructor injection. If we use both constructor and setter injection, IOC container will use the setter injection.
3. Changes: We can easily change the value by setter injection. It doesn't create a new bean instance always like constructor. So setter injection is flexible than constructor injection.

4. Technical Question

Explain the prototype scope in Spring

Problem approach

This scopes a single bean definition to have any number of object instances. If the scope is set to prototype, the Spring IoC container creates a new bean instance of the object every time a request for that specific bean is made. As a rule, use the prototype scope for all state-full beans and the singleton scope for stateless beans.

To define a prototype scope, you can set the scope property to prototype in the bean configuration file, as shown in the following code snippet −




 

5. Technical Question

What are the different advice types in Spring AOP?

Problem approach

1. before : Run advice before the method execution.
2. after : Run advice after the method execution, regardless of its outcome.
3. after-returning : Run advice after the method execution, only if the method completes successfully.
4. after-throwing : Run advice after the method execution, only if the method exits by throwing an exception.
5. around : Run advice before and after the advised method is invoked.

02
Round
Easy
Video Call
Duration60 minutes
Interview date14 Sep 2020
Coding problem5

Technical Interview round with questions based on Java and Spring.

1. Java Question

What is Java Executor Framework?

Problem approach

Java provides its own multi-threading framework called the Java Executor Framework.Java executor framework (java.util.concurrent.Executor), released with the JDK 5 is used to run the Runnable objects without creating new threads every time and mostly re-using the already created threads.

2. Java Question

What are the advantages of design patterns in Java ?

Problem approach

They are reusable in multiple projects.
They provide the solutions that help to define the system architecture.
They capture the software engineering experiences.
They provide transparency to the design of an application.
They are well-proved and testified solutions since they have been built upon the knowledge and experience of expert software developers.

3. Technical Question

What are the different states of Entity Instances?

Problem approach

1. transient — this instance is not, and never was, attached to a Session; this instance has no corresponding rows in the database; it's usually just a new object that you have created to save to the database;
2. persistent — this instance is associated with a unique Session object; upon flushing the Session to the database, this entity is guaranteed to have a corresponding consistent record in the database;
3. detached — this instance was once attached to a Session (in a persistent state), but now it’s not; an instance enters this state if you evict it from the context, clear or close the Session, or put the instance through serialization/deserialization process.

4. Technical Question

How to implement Java executor framework ?

5. Technical Question

What are the benefits of Java Executor Framework?

Problem approach

1. The most important feature of this framework is the separation of concerns. It lets the developer to create tasks(Runnables, Callables), and let the framework decide when, how and where to execute that task on a Thread which is totally configurable.
2. It relieves the developer from thread management.
3. It provides the developers various types of queues for storing the tasks. It also provides various mechanisms for handling the scenario in which a task is rejected by the queue when it is full.

03
Round
Easy
HR Round
Duration30 minutes
Interview date14 Sep 2020
Coding problem1

HR round with typical behavioral problems

1. Basic HR Question

1. Why VMware Software?
2. Where do you see yourself after 5 years?

Problem approach

Tip 1 : The cross questioning can go intense some time, think before you speak.

Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.

Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the work environment etc.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by VMware Inc
814 views
0 comments
0 upvotes
company logo
Software Testing Engineer
3 rounds | 6 problems
Interviewed by VMware Inc
1417 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by VMware Inc
325 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by VMware Inc
328 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Java Developer
3 rounds | 4 problems
Interviewed by SAP Labs
3148 views
0 comments
0 upvotes