Filter interviews by
No, in Java you cannot overload/override functions based on return types.
In Java, method overloading is based on the number and type of parameters, not the return type.
Method overriding is based on the method signature, which includes the method name, parameter types, and order, but not the return type.
Attempting to overload or override a method based solely on return type will result in a compilation error.
Program to remove white spaces from string without any inbuilt function
Iterate through each character in the string
Create a new string and add non-white space characters to it
Return the new string without white spaces
To validate the button color, inspect the CSS properties or use a color picker tool.
Inspect the CSS properties of the button element to check the color value
Use a color picker tool to sample the color of the button on the UI
Compare the sampled color with the expected blue color value
PUT is used to update or replace an entire resource, while PATCH is used to update or modify a part of a resource.
PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.
PATCH is not necessarily idempotent, as multiple identical requests may have different effects.
PUT requires the client to send the entire updated resource, while PATCH only requires the client to send t...
To validate if a checkbox is checked, use Selenium WebDriver to locate the checkbox element and then use the isSelected() method to check if it is checked.
Locate the checkbox element using Selenium WebDriver
Use the isSelected() method to check if the checkbox is checked
Assert the result to validate if the checkbox is checked
You can validate data presence in a table using Selenium by locating the table element and then searching for the desired value.
Locate the table element using Selenium WebDriver
Iterate through the rows and columns of the table to find the desired value
Use assertions to validate if the value is present in the table
findelement returns the first matching element on the page, findelements returns a list of all matching elements.
findelement returns a single WebElement, findelements returns a list of WebElements
findelement throws NoSuchElementException if no element is found, findelements returns an empty list
Example: driver.findElement(By.id("exampleId")) vs driver.findElements(By.className("exampleClass"))
Regression testing ensures that new code changes do not adversely affect existing functionality, while integration testing checks if different modules work together correctly.
Regression testing focuses on retesting existing functionality after code changes
Integration testing checks if different modules work together as expected
Regression testing is usually automated to save time and effort
Integration testing may i...
Use recursion to print numbers from 1 to 1000 without using loops
Create a recursive function that takes a number as input
Print the number and call the function with the next number until 1000 is reached
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and non-abstract methods along with abstract methods.
Interfaces can only have abstract methods and constants, no constructors or fields.
An abstract class can provide a default implementation for some methods, while an interface cannot.
An abstract class can be ...
I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and non-abstract methods along with abstract methods.
Interfaces can only have abstract methods and constants, no constructors or fields.
An abstract class can provide a default implementation for some methods, while an interface cannot.
An abstract class can be exten...
findelement returns the first matching element on the page, findelements returns a list of all matching elements.
findelement returns a single WebElement, findelements returns a list of WebElements
findelement throws NoSuchElementException if no element is found, findelements returns an empty list
Example: driver.findElement(By.id("exampleId")) vs driver.findElements(By.className("exampleClass"))
Test scenarios for Facebook login page
Verify login with valid credentials
Verify login with invalid credentials
Verify login with empty username and password fields
Verify login with incorrect password
Verify login with incorrect username
Verify login with special characters in username and password
Verify login with locked account
Verify login with expired password
Verify login with CAPS LOCK on
Verify login with multiple logi...
Regression testing ensures that new code changes do not adversely affect existing functionality, while integration testing checks if different modules work together correctly.
Regression testing focuses on retesting existing functionality after code changes
Integration testing checks if different modules work together as expected
Regression testing is usually automated to save time and effort
Integration testing may involv...
Program to remove white spaces from string without any inbuilt function
Iterate through each character in the string
Create a new string and add non-white space characters to it
Return the new string without white spaces
To validate if a checkbox is checked, use Selenium WebDriver to locate the checkbox element and then use the isSelected() method to check if it is checked.
Locate the checkbox element using Selenium WebDriver
Use the isSelected() method to check if the checkbox is checked
Assert the result to validate if the checkbox is checked
To validate the button color, inspect the CSS properties or use a color picker tool.
Inspect the CSS properties of the button element to check the color value
Use a color picker tool to sample the color of the button on the UI
Compare the sampled color with the expected blue color value
You can validate data presence in a table using Selenium by locating the table element and then searching for the desired value.
Locate the table element using Selenium WebDriver
Iterate through the rows and columns of the table to find the desired value
Use assertions to validate if the value is present in the table
No, in Java you cannot overload/override functions based on return types.
In Java, method overloading is based on the number and type of parameters, not the return type.
Method overriding is based on the method signature, which includes the method name, parameter types, and order, but not the return type.
Attempting to overload or override a method based solely on return type will result in a compilation error.
PUT is used to update or replace an entire resource, while PATCH is used to update or modify a part of a resource.
PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.
PATCH is not necessarily idempotent, as multiple identical requests may have different effects.
PUT requires the client to send the entire updated resource, while PATCH only requires the client to send the sp...
Use recursion to print numbers from 1 to 1000 without using loops
Create a recursive function that takes a number as input
Print the number and call the function with the next number until 1000 is reached
Top trending discussions
I applied via Recruitment Consultant and was interviewed in Jul 2020. There were 3 interview rounds.
I have 5 years of experience in marketing and sales roles, with responsibilities including client management, campaign planning, and team leadership.
Managed client accounts and maintained strong relationships
Developed and executed marketing campaigns to drive sales
Led a team of sales representatives to meet targets
Analyzed market trends and competitor activities to identify opportunities
Collaborated with cross-function...
I applied via Company Website and was interviewed before Jan 2021. There were 3 interview rounds.
Pumps and aerators are used to move fluids and gases respectively.
Pumps work by creating a pressure difference to move fluids from one place to another.
Aerators introduce air into liquids to increase oxygen levels and promote biological processes.
Types of pumps include centrifugal, positive displacement, and jet pumps.
Types of aerators include surface aerators, diffused aerators, and mechanical aerators.
posted on 10 Dec 2022
I applied via Walk-in and was interviewed before Dec 2021. There were 3 interview rounds.
Detailed information about the previous company where i worked.Discussed with project manager regarding my roles and assignments i had taken on work location.Along with that we discussed about my academic projects and skills that i had mastered in my career
Interviewers gave me the task to elaborate the design of pollution control equipments and assessments
I appeared for an interview before Mar 2024, where I was asked the following questions.
Led multiple engineering projects, overcoming challenges through innovative solutions and teamwork.
Project A: Developed a scalable web application, faced performance issues, optimized database queries to enhance speed.
Project B: Implemented a cloud migration strategy, encountered data security concerns, established robust encryption protocols.
Project C: Designed an IoT system for smart homes, struggled with device inte...
I discovered your organization through industry research and networking, and I can contribute with my expertise in software development and team leadership.
I learned about your organization through LinkedIn, where I followed your projects and innovations in the tech space.
I can contribute by leveraging my 8 years of experience in software engineering to enhance product development efficiency.
My background in Agile meth...
In the next five years, I aim to enhance my technical skills, lead projects, and contribute to innovative solutions in engineering.
Develop expertise in emerging technologies, such as AI and machine learning, to stay ahead in the field.
Lead cross-functional teams on major projects, ensuring timely delivery and high-quality outcomes.
Mentor junior engineers, sharing knowledge and fostering a collaborative work environment...
I applied via Naukri.com and was interviewed in Feb 2022. There were 3 interview rounds.
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
DM Plant removes impurities like salts and minerals from water using ion exchange process.
DM Plant stands for Demineralization Plant.
It uses ion exchange process to remove impurities like salts and minerals from water.
It consists of cation exchange resin and anion exchange resin columns.
Cations and anions in water are exchanged with hydrogen and hydroxyl ions in the resins.
The treated water is then passed through mixed...
I applied via Naukri.com and was interviewed in Mar 2021. There were 5 interview rounds.
I appeared for an interview before Feb 2021.
Experienced Senior Engineer with a strong background in software development, project management, and team leadership.
Over 10 years of experience in software engineering, specializing in full-stack development.
Led a team of 5 engineers in developing a scalable e-commerce platform that increased sales by 30%.
Proficient in multiple programming languages including Java, Python, and JavaScript.
Implemented Agile methodologi...
I applied via Referral and was interviewed in Mar 2021. There were 4 interview rounds.
I have diverse experience in project management, team collaboration, and client relations across various industries.
Managed a team of 5 in a software development project, improving delivery time by 20%.
Collaborated with cross-functional teams to enhance product features based on user feedback.
Developed strong client relationships, resulting in a 30% increase in repeat business.
Conducted market research that informed st...
Some of the top questions asked at the Xylem Water Solutions QA Engineer interview -
based on 1 interview experience
Difficulty level
Duration
Senior Engineer
90
salaries
| ₹5.8 L/yr - ₹13.5 L/yr |
Design Engineer
84
salaries
| ₹4 L/yr - ₹9.5 L/yr |
Assistant Manager
61
salaries
| ₹9.3 L/yr - ₹15.6 L/yr |
Senior Design Engineer
56
salaries
| ₹5 L/yr - ₹9.9 L/yr |
Lead Engineer
55
salaries
| ₹10.7 L/yr - ₹20 L/yr |
Ion Exchange India
Re Sustainability Limited
DuPont
VA Tech Wabag