Filter interviews by
Spring MVC is a framework for building web applications in Java, following the Model-View-Controller design pattern.
1. Client sends a request to the DispatcherServlet.
2. DispatcherServlet maps the request to a specific Controller based on URL.
3. The Controller processes the request and interacts with the Model (business logic).
4. The Model returns data to the Controller.
5. The Controller selects a View (JSP, Thyme...
Git commands are used to interact with the version control system Git.
git clone: Used to clone a repository from a remote server to your local machine.
git add: Adds changes in the working directory to the staging area.
git commit: Records changes to the repository.
git push: Pushes changes to a remote repository.
git pull: Fetches changes from a remote repository and merges them into the local branch.
Composition in Java is a design technique where a class contains an object of another class to reuse its functionality.
Composition is a 'has-a' relationship, where one class contains an instance of another class.
It allows for code reuse and flexibility in design.
Example: A Car class may contain an Engine object, utilizing its functionality without inheriting from it.
Use the equals() method or compareTo() method to compare two strings in Java.
Use the equals() method to compare two strings for content equality.
Use the compareTo() method to compare two strings lexicographically.
Consider using the equalsIgnoreCase() method for case-insensitive comparison.
Sleep method pauses the current thread for a specified amount of time, while join method waits for a thread to finish execution.
Sleep method is a static method of Thread class, while join method is an instance method.
Sleep method does not release the lock on the object, while join method does.
Sleep method takes a specified time in milliseconds as an argument, while join method waits until the thread it is called o...
Data encapsulation is the concept of bundling data with the methods that operate on that data, restricting access to the data.
Data encapsulation is a fundamental principle of object-oriented programming.
It allows for the data to be hidden and only accessible through the defined methods.
Encapsulation helps in achieving data abstraction and information hiding.
Example: In a class representing a car, the variables lik...
No, static methods cannot be overridden in Java.
Static methods belong to the class itself, not to any specific instance of the class.
Subclasses can have static methods with the same signature as the parent class, but it is not considered overriding.
Example: Parent class has a static method 'display()', and subclass also has a static method 'display()', this is not overriding.
Overloading allows multiple methods with the same name but different parameters; overriding redefines a method in a subclass.
Overloading occurs within the same class.
Example of overloading: 'int add(int a, int b)' and 'double add(double a, double b)'.
Overriding occurs in a subclass, redefining a method from the superclass.
Example of overriding: 'void display()' in a subclass that changes behavior from the supercla...
Point cut is a term used in Aspect-Oriented Programming (AOP) to define where certain aspects should be applied in the code.
Point cut specifies the join points in the code where advice should be applied.
It helps in separating the cross-cutting concerns from the main business logic.
Examples of point cuts include method executions, field accesses, and exception handling.
Joint point is a point in the execution of a program where an aspect can be applied.
Joint point is a specific point in the execution of a program where additional behavior can be introduced.
It is a point in the code where the aspect code can be weaved in.
Examples include method calls, exception handling, variable assignments, etc.
I applied via Referral and was interviewed before May 2023. There were 3 interview rounds.
I enjoy coding, hiking, and photography, which help me unwind and fuel my creativity outside of work.
Coding personal projects, like a weather app using React.
Hiking in local trails, exploring nature and staying active.
Photography, capturing landscapes and urban scenes on weekends.
Point cut is a term used in Aspect-Oriented Programming (AOP) to define where certain aspects should be applied in the code.
Point cut specifies the join points in the code where advice should be applied.
It helps in separating the cross-cutting concerns from the main business logic.
Examples of point cuts include method executions, field accesses, and exception handling.
Joint point is a point in the execution of a program where an aspect can be applied.
Joint point is a specific point in the execution of a program where additional behavior can be introduced.
It is a point in the code where the aspect code can be weaved in.
Examples include method calls, exception handling, variable assignments, etc.
I know various docker commands for managing containers and images.
docker run - to create and start a new container
docker ps - to list all running containers
docker stop - to stop a running container
docker images - to list all available images
docker pull - to download an image from a registry
docker build - to build an image from a Dockerfile
A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
Start with a base image using the FROM keyword
Use the RUN keyword to execute commands in the image
Use the COPY keyword to add files from your Docker client's current directory
Use the CMD keyword to specify the command to run when the container starts
Actuator in Spring Boot is a set of tools and features that help monitor and manage your application.
Actuator provides endpoints to monitor application health, metrics, info, etc.
It allows you to interact with your application through HTTP endpoints.
Examples of endpoints include /actuator/health, /actuator/metrics, /actuator/info.
Actuator can be customized and secured based on your requirements.
The project involves a web application that streamlines user interactions through a robust backend and responsive frontend.
User Authentication: Implemented secure login and registration using JWT tokens to manage user sessions effectively.
RESTful API: Developed a RESTful API using Spring Boot to handle data requests, ensuring smooth communication between frontend and backend.
Database Integration: Utilized PostgreSQL fo...
ArrayList is not synchronized while Vector is synchronized.
ArrayList is not thread-safe, while Vector is thread-safe.
Vector is slower than ArrayList because of synchronization.
ArrayList is a part of the Java Collection Framework, while Vector is a legacy class.
Example: ArrayList<String> list = new ArrayList<>(); Vector<String> vector = new Vector<>();
No, static methods cannot be overridden in Java.
Static methods belong to the class itself, not to any specific instance of the class.
Subclasses can have static methods with the same signature as the parent class, but it is not considered overriding.
Example: Parent class has a static method 'display()', and subclass also has a static method 'display()', this is not overriding.
Sample java basic problems.
Time complexity of a sample program.
Pseudo code of a given problem.
Implementation of a binary search tree.
Wetting an api using springboot with proper implementation of exception handling.
Top trending discussions
posted on 9 May 2017
I appeared for an interview before May 2016.
posted on 24 Sep 2024
I applied via Campus Placement
Easy aptitude, 30 min with 20 question
posted on 25 Sep 2024
I applied via Referral and was interviewed before Sep 2023. There were 2 interview rounds.
Simple aptitude questions.
My strength lies in my problem-solving skills and ability to learn quickly.
Strong problem-solving skills
Quick learner
Adaptability to new technologies
Ability to work well under pressure
Yes, I am comfortable working under pressure and have experience delivering high-quality work in tight deadlines.
I have successfully completed projects with tight deadlines in my previous roles.
I am able to prioritize tasks effectively and remain focused under pressure.
I thrive in challenging situations and see them as opportunities to showcase my skills.
I have experience working on urgent bug fixes and resolving issue...
posted on 12 Apr 2023
I applied via Recruitment Consulltant and was interviewed before Apr 2022. There were 3 interview rounds.
25 MCQ questions online with time limit
Create webapp . Frontend, Backend , data encryption
posted on 4 Nov 2023
I appeared for an interview in Oct 2023.
Easy to medium
profit and loss questions
Permutation and combination
Easy to medium
45 mins
Operator overloading allows operators to be redefined for user-defined types in Java.
Operator overloading is not supported in Java as it can lead to ambiguity and confusion.
Java does not allow custom operators to be defined or existing operators to be overloaded.
Instead of operator overloading, Java provides method overloading where methods with the same name but different parameters can be defined.
Java is a high-level, object-oriented programming language known for its platform independence and robust features.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM)
It is object-oriented, allowing for modular and reusable code
Java is known for its robust standard library, which includes tools for networking, I/O, and more
It supports multithreading, allowing for concurrent e...
I applied via LinkedIn and was interviewed before Dec 2023. There were 2 interview rounds.
They just gave me an assessment with a few questions to test my subject knowledge
I appeared for an interview in Nov 2024.
The aptitude test evaluates problem-solving, coding skills, and logical reasoning, offering a fair challenge to showcase technical expertise.
I address conflicts in team projects by promoting open communication, active listening, and seeking compromise.
Encourage open communication among team members to address conflicts early on
Practice active listening to understand all perspectives and concerns
Seek compromise and find common ground to resolve conflicts effectively
posted on 24 Apr 2024
I applied via Campus Placement and was interviewed in Oct 2023. There were 3 interview rounds.
It was online 60min test.
It was offline 30 min test.
based on 1 interview experience
Difficulty level
Duration
based on 9 reviews
Rating in categories
Senior Software Engineer
53
salaries
| ₹4 L/yr - ₹13 L/yr |
Software Engineer
51
salaries
| ₹2.7 L/yr - ₹7 L/yr |
Technical Lead
32
salaries
| ₹9 L/yr - ₹17.5 L/yr |
Project Lead
14
salaries
| ₹13 L/yr - ₹24 L/yr |
Software Developer
11
salaries
| ₹3 L/yr - ₹6.5 L/yr |
Accel Frontline
Apmosys Technologies
Pitney Bowes
DynPro