Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Method overloading allows multiple methods with the same name but different parameters in a class.
Method overloading in our framework allows us to create multiple methods with the same name but different parameters.
For example, we can have a method 'calculate' that can take different types of parameters like int, double, or string.
This helps in improving code readability and reusability.
Method overloading is resolved a...
Reverse a string input without using any inbuilt method in Java
Create a char array from the input string
Use two pointers to swap characters from start and end of the array
Continue swapping until the pointers meet in the middle
Selenium waits are used to make the test scripts wait for a certain condition to be met before proceeding.
Selenium waits help in handling dynamic web elements that load at different times.
There are three types of waits in Selenium: Implicit wait, Explicit wait, and Fluent wait.
Implicit wait sets a default waiting time for the entire script.
Explicit wait waits for a specific condition to be met before proceeding.
Fluent ...
Method hiding is a concept in object-oriented programming where a subclass defines a method with the same name as a method in its superclass, effectively hiding the superclass method.
Method hiding allows a subclass to provide its own implementation of a method without overriding the superclass method.
The subclass method must have the same signature (name and parameters) as the superclass method to hide it.
To access the...
Static variables and methods can be accessed using the class name directly.
Use the class name followed by a dot operator to access static variables and methods.
No instance of the class is required to access static members.
Example: ClassName.staticVariableName or ClassName.staticMethodName()
Top trending discussions
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed before Apr 2021. There were 3 interview rounds.
Standard Aptitude questions
Based on strings and array
I applied via Company Website and was interviewed in Dec 2020. There was 1 interview round.
based on 1 interview
Interview experience
Software Engineer
1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
719
salaries
| ₹0 L/yr - ₹0 L/yr |
Test Engineer
361
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
310
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
274
salaries
| ₹0 L/yr - ₹0 L/yr |
Persistent Systems
TCS
Infosys
Wipro