Filter interviews by
Clear (1)
Java provides several sorting algorithms to sort arrays of strings.
Arrays.sort() method can be used to sort an array of strings in ascending order.
Arrays.sort() method uses the natural ordering of the elements.
To sort in descending order, you can use the Comparator.reverseOrder() method.
You can also use other sorting algorithms like bubble sort, insertion sort, etc.
Top trending discussions
I applied via Naukri.com and was interviewed before Dec 2022. There were 3 interview rounds.
Java program to reverse a sentence
Split the sentence into words using the split() method
Create a new array to store the reversed words
Iterate through the words in reverse order and add them to the new array
Join the reversed words using the join() method to form the reversed sentence
Program to find repeated character in a word.
Iterate through each character in the word
Store each character in a data structure
If a character is already present in the data structure, it is a repeated character
I applied via Campus Placement and was interviewed in Jul 2023. There were 2 interview rounds.
2 Basic leetcode problems
I was interviewed in Mar 2024.
Java, selenium,1 hours
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
60 mints, gform ,topics like train ,age ,numbers,propability,
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Implicit and Explicit wait are used in Selenium for handling synchronization issues in test automation.
Implicit wait is set globally for the entire test script, while explicit wait is applied only to specific elements.
Implicit wait waits for a specified amount of time before throwing a NoSuchElementException, while explicit wait waits for a specific condition to be met before proceeding.
Syntax for implicit wait: driver...
Xpath writing with parent child relation involves specifying the path to locate elements based on their hierarchical relationship.
Use '/' to specify direct child elements
Use '//' to specify any descendant elements
Use '[]' to specify conditions for selecting elements
Example: //div[@class='parent']/child::span
Java constructor is a special type of method used to initialize objects. Swapping two numbers can be done using a temporary variable.
Java constructor is used to initialize objects in a class.
Swapping two numbers can be done by using a temporary variable.
Example code for swapping two numbers using constructor:
public class NumberSwapper {
int num1;
int num2;
public NumberSwapper(int a, int b) {
num1 = a;
num2 = ...
Amazon website needs to validate drop-down value
I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.
Oops concepts of Java
Encapsulation: Bundling data and methods together in a class
Inheritance: Acquiring properties and behaviors from a parent class
Polymorphism: Ability to take on many forms
Abstraction: Hiding complex implementation details
Interface: Blueprint of a class that defines methods to be implemented
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Module Lead
431
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
264
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
230
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Application Developer
224
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
220
salaries
| ₹0 L/yr - ₹0 L/yr |
Concentrix Corporation
Foundever
Wipro
Genpact