Filter interviews by
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class (subclass) inherits properties and behaviors from a base class (superclass)
Can have multiple levels of inheritance, creating a hierarchy of classes
Example: Animal class can be a base class with Dog and Cat
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Code to reverse a string using array of characters
Iterate through half of the string and swap characters from start and end
Use a temporary variable to store the character being swapped
Handle edge cases like empty string or single character string
I applied via Campus Placement and was interviewed before Feb 2023. There was 1 interview round.
To insert tabular data in a database, use SQL INSERT statement with appropriate table and column names.
Use SQL INSERT statement to insert data into a table
Specify the table name and column names in the INSERT statement
Provide the values to be inserted for each column
Ensure the data types of values match the column types
Consider using prepared statements or parameterized queries for security
Example: INSERT INTO employee
I applied via Recruitment Consultant and was interviewed in Aug 2021. There were 3 interview rounds.
Top trending discussions
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There was 1 interview round.
BigInteger is used for mathematical operations involving very large integers in Java.
BigInteger is used when the range of values supported by primitive data types like int and long is not sufficient.
It is commonly used in cryptography and security applications.
It provides methods for arithmetic, bitwise, and logical operations on large integers.
Example: calculating factorial of a large number, generating large prime nu
Merge Sort Algo code in java
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
I applied via Campus Placement and was interviewed before Oct 2020. There were 4 interview rounds.
Method overloading is a feature in OOP where multiple methods can have the same name but different parameters.
Method overloading is used to improve code readability and reusability.
The methods must have different parameters, either in number or type.
Example: void print(int num), void print(String str), void print(int num1, int num2)
Method overloading is resolved at compile-time based on the number and type of arguments
A class is a blueprint for creating objects that have similar attributes and behaviors.
A class is a user-defined data type that encapsulates data and functions.
It provides a way to organize and structure code.
Objects are instances of a class.
Classes can inherit properties and methods from other classes.
Examples of classes in programming languages include String, Integer, and List.
I applied via Naukri.com and was interviewed before May 2020. There were 3 interview rounds.
This JSON contains answers to interview questions for a Software Engineer position.
Aggregation and composition are both forms of association in object-oriented programming.
Aggregation represents a 'has-a' relationship, where one object contains another object as a part.
Composition is a stronger form of aggregation, where the lifetime of the contained object is controlled by the container object.
Fibonacci series can be ...
The interview questions cover a wide range of topics related to software engineering, including technologies worked on, roles and responsibilities, Java concepts, debugging, code review, project architecture, and more.
Discussing technologies worked on and roles/responsibilities showcases experience and skills.
Differentiating between final, finally, and finalize in Java demonstrates understanding of language nuances.
Exp...
based on 2 interviews
Interview experience
based on 18 reviews
Rating in categories
Process Associate
3.6k
salaries
| ₹1 L/yr - ₹8.4 L/yr |
Customer Service Executive
523
salaries
| ₹1 L/yr - ₹5.4 L/yr |
Team Lead
324
salaries
| ₹2.4 L/yr - ₹7 L/yr |
Customer Care Executive
270
salaries
| ₹1.1 L/yr - ₹7 L/yr |
Quality Analyst
208
salaries
| ₹1.6 L/yr - ₹5.5 L/yr |
Genpact
DXC Technology
Sutherland Global Services
Optum Global Solutions