Filter interviews by
I applied via Referral and was interviewed in Aug 2022. There were 2 interview rounds.
Assert is a TestNG keyword used to verify the expected and actual results of a test case.
Assert is used to validate the expected output of a test case
If the expected and actual results do not match, the test case fails
Assert can be used for various types of validations such as checking for equality, null values, exceptions, etc.
Examples: assertEquals, assertNull, assertTrue, etc.
SDLC stands for Software Development Life Cycle, which is a process followed by software development teams to design, develop, and test high-quality software.
SDLC is a structured approach to software development that involves planning, designing, building, testing, and deploying software.
It consists of several phases, including requirements gathering, design, development, testing, deployment, and maintenance.
Each phase...
Java program to reverse a number
Convert the number to a string
Use StringBuilder to reverse the string
Convert the reversed string back to a number
Java program to reverse words in an array of strings
Create an array of strings
Loop through each string in the array
Split the string into words using split() method
Reverse each word using StringBuilder
Join the reversed words using join() method
Top trending discussions
posted on 25 Aug 2024
I applied via Walk-in and was interviewed in Jul 2024. There was 1 interview round.
Swap pair of characters in each string of an array of strings.
Iterate through each string in the array
For each string, swap pairs of characters by iterating through the string with a step of 2
Return the modified array of strings
Find duplicate characters in a set of strings.
Iterate through each string in the array.
For each string, iterate through each character and store them in a hashmap with their frequency.
Identify characters with frequency greater than 1 as duplicates.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
findElement is used to locate a single element on a web page, while findElements is used to locate multiple elements.
findElement returns the first matching element on the page, while findElements returns a list of all matching elements.
findElement throws NoSuchElementException if no element is found, while findElements returns an empty list.
findElement is used when you expect only one element to be present, while findE...
Java program to find the largest number in an array of strings
Convert each string element in the array to an integer using Integer.parseInt()
Initialize a variable to store the largest number and compare each element to update it
Return the largest number found in the array
Asked some questions on selenium, sql query and java programming
Find a middle element and largest element from an array using hashmap.
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
1) continue - skips the current iteration and continues with the next iteration in a loop. break - exits the loop immediately. 2) Maven is a build automation tool used primarily for Java projects. 3) Extent Report is a reporting library for Selenium test automation.
continue statement is used to skip the current iteration and continue with the next iteration in a loop
break statement is used to exit the loop immediately
M...
I applied via Job Portal and was interviewed in Sep 2023. There was 1 interview round.
Software Developer
3
salaries
| ₹3 L/yr - ₹3 L/yr |
TCS
Accenture
Wipro
Cognizant