i
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
Polymorphism is the ability of an object to take on multiple forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It can be achieved through method overloading or method overriding.
Example: A parent class Animal can have multiple child classes like Dog, Cat, etc. and all of them can have their own implementation of the same method like makeSound().
Polymorphism helps...
Exception handling in Java is a mechanism to handle runtime errors and prevent program termination.
Java provides try-catch blocks to handle exceptions
Multiple catch blocks can be used to handle different types of exceptions
Finally block is used to execute code regardless of whether an exception is thrown or not
Custom exceptions can be created by extending the Exception class
Checked exceptions must be handled or de...
Program to find min and max in an array of strings
Convert array elements to integers
Initialize min and max variables
Loop through array and compare values
Return min and max values
Program to reverse a string
Declare a string variable
Loop through the string from end to start
Append each character to a new string variable
Return the new string variable
Abstract classes are classes that cannot be instantiated and can have both concrete and abstract methods. Interfaces are contracts that define a set of methods that a class must implement.
Abstract classes can have instance variables, constructors, and non-abstract methods, while interfaces cannot.
A class can implement multiple interfaces, but it can only inherit from one abstract class.
Abstract classes provide a w...
Polymorphism in Java can be achieved through method overriding and method overloading.
Method overriding allows a subclass to provide a different implementation of a method that is already defined in its superclass.
Method overloading allows multiple methods with the same name but different parameters to be defined in a class.
Polymorphism allows objects of different classes to be treated as objects of a common super...
Yes, static methods can be used in an interface.
Static methods in an interface can be used to provide utility methods that are not tied to any specific instance of the interface.
These methods can be called directly on the interface itself, without the need for an instance of a class that implements the interface.
Static methods in an interface cannot be overridden by implementing classes.
They can be useful for prov...
OOPs is a programming paradigm based on the concept of objects that interact with each other to perform tasks.
OOPs stands for Object-Oriented Programming
It involves the use of classes, objects, encapsulation, inheritance, and polymorphism
Classes are blueprints for creating objects
Objects are instances of classes
Encapsulation is the process of hiding data and methods within a class
Inheritance allows a class to inhe...
Variables in Java are containers that store data values. Their scope determines where they can be accessed.
Java has three types of variables: local, instance, and static
Local variables are declared within a method and can only be accessed within that method
Instance variables are declared within a class but outside of any method and can be accessed by any method within that class
Static variables are declared with t...
C is a procedural language while Java is an object-oriented language.
C is compiled while Java is interpreted
Java has automatic garbage collection while C requires manual memory management
Java has platform independence while C is platform dependent
Java has built-in exception handling while C does not
Java has a larger standard library than C
I applied via Referral and was interviewed in Dec 2022. There were 5 interview rounds.
Aptitude and reasoning mcqs in online mode, web cam is screening
Group discussion with particular topic that is based on hr given topics
Coding test on Java , one or two coding they have to give
Oops concepts are fundamental to Java programming and include inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a class to inherit properties and methods from a parent class.
Polymorphism allows objects to take on multiple forms and behave differently based on their context.
Encapsulation hides the implementation details of a class from other classes.
Abstraction allows us to focus on the essent...
Polymorphism is the ability of an object to take on multiple forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It can be achieved through method overloading or method overriding.
Example: A parent class Animal can have multiple child classes like Dog, Cat, etc. and all of them can have their own implementation of the same method like makeSound().
Polymorphism helps in a...
I applied via Naukri.com and was interviewed before Oct 2023. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before May 2023. There were 4 interview rounds.
Pseudo codes and chooses
About ongoing world trend
I applied via Naukri.com and was interviewed in Oct 2021. There were 3 interview rounds.
C is a procedural language while Java is an object-oriented language.
C is compiled while Java is interpreted
Java has automatic garbage collection while C requires manual memory management
Java has platform independence while C is platform dependent
Java has built-in exception handling while C does not
Java has a larger standard library than C
Program to find min and max in an array of strings
Convert array elements to integers
Initialize min and max variables
Loop through array and compare values
Return min and max values
Program to reverse a string
Declare a string variable
Loop through the string from end to start
Append each character to a new string variable
Return the new string variable
Variables in Java are containers that store data values. Their scope determines where they can be accessed.
Java has three types of variables: local, instance, and static
Local variables are declared within a method and can only be accessed within that method
Instance variables are declared within a class but outside of any method and can be accessed by any method within that class
Static variables are declared with the st...
Exception handling in Java is a mechanism to handle runtime errors and prevent program termination.
Java provides try-catch blocks to handle exceptions
Multiple catch blocks can be used to handle different types of exceptions
Finally block is used to execute code regardless of whether an exception is thrown or not
Custom exceptions can be created by extending the Exception class
Checked exceptions must be handled or declare...
I applied via Naukri.com and was interviewed in Jun 2021. There were 3 interview rounds.
Yes, static methods can be used in an interface.
Static methods in an interface can be used to provide utility methods that are not tied to any specific instance of the interface.
These methods can be called directly on the interface itself, without the need for an instance of a class that implements the interface.
Static methods in an interface cannot be overridden by implementing classes.
They can be useful for providing...
Polymorphism in Java can be achieved through method overriding and method overloading.
Method overriding allows a subclass to provide a different implementation of a method that is already defined in its superclass.
Method overloading allows multiple methods with the same name but different parameters to be defined in a class.
Polymorphism allows objects of different classes to be treated as objects of a common superclass...
Abstract classes are classes that cannot be instantiated and can have both concrete and abstract methods. Interfaces are contracts that define a set of methods that a class must implement.
Abstract classes can have instance variables, constructors, and non-abstract methods, while interfaces cannot.
A class can implement multiple interfaces, but it can only inherit from one abstract class.
Abstract classes provide a way to...
I applied via Naukri.com and was interviewed in Jun 2021. There were 4 interview rounds.
I applied via Referral and was interviewed in Oct 2020. There were 3 interview rounds.
OOPs is a programming paradigm based on the concept of objects that interact with each other to perform tasks.
OOPs stands for Object-Oriented Programming
It involves the use of classes, objects, encapsulation, inheritance, and polymorphism
Classes are blueprints for creating objects
Objects are instances of classes
Encapsulation is the process of hiding data and methods within a class
Inheritance allows a class to inherit p...
Top trending discussions
posted on 22 May 2022
I applied via LinkedIn and was interviewed before May 2021. There was 1 interview round.
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the number of distinct islands. A group of...
Count the number of distinct islands in a 2D array of 0s and 1s.
Identify islands by performing depth-first search (DFS) on the grid
Use a set to store the shape of each island and check for duplicates
Consider translations to determine distinct islands
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a space. The challenge is to minimiz...
The goal is to minimize the total cost of arranging 'N' words on each line with a maximum character limit 'M'.
Calculate the cost of each line as the cube of extra space characters needed to reach 'M'.
Minimize the total cost by arranging words to fit within the character limit on each line.
Ensure each word appears fully on one line without breaking across lines.
Round duration - 60 minutes
Round difficulty - Easy
This was a System Design round.
Design a system similar to Red Bus for handling bookings and onboarding vendors and customers.
Implement a user-friendly interface for customers to search and book tickets
Create a vendor portal for vendors to manage their offerings and availability
Include payment gateway integration for secure transactions
Develop a robust backend system for managing bookings, cancellations, and refunds
Utilize a database to store user in...
Round duration - 50 minutes
Round difficulty - Easy
This was a System Design round
Round duration - 50 minutes
Round difficulty - Easy
This was an HR round.
Tip 1 : Practice as much as you can.
Tip 2 : Prepare for company, not in general.
Tip 3 : Your past work should be objective and your contribution should be very clear
Tip 1 : Keep only relevant things for the job you are applying.
Tip 2 : Minimal data with measurable contribution and effect.
based on 3 interview experiences
Difficulty level
Duration
based on 12 reviews
Rating in categories
Consultant
1.6k
salaries
| ₹8.4 L/yr - ₹16 L/yr |
Associate Consultant
1.1k
salaries
| ₹4 L/yr - ₹9 L/yr |
Team Lead
543
salaries
| ₹12.4 L/yr - ₹21 L/yr |
Senior Project Leader
451
salaries
| ₹14.9 L/yr - ₹26.5 L/yr |
Product Engineer
355
salaries
| ₹4 L/yr - ₹8.1 L/yr |
Amdocs
Automatic Data Processing (ADP)
24/7 Customer
KPIT Technologies