i
ITC Infotech
Filter interviews by
I applied via Monster and was interviewed in May 2024. There was 1 interview round.
To select the 3rd highest salary from the employee table, you can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.
Use a SQL query like 'SELECT salary FROM employee ORDER BY salary DESC LIMIT 1 OFFSET 2' to get the 3rd highest salary.
The 'ORDER BY' clause sorts the salaries in descending order, 'LIMIT 1' limits the result to 1 row, and 'OFFSET 2' skips the first two rows.
Make sure to adjust the 'OFFSET' value if
Put is used to create or replace a resource, while patch is used to update a resource partially.
Put is idempotent, meaning multiple identical requests will have the same effect as a single request
Patch is not idempotent, as multiple identical requests may have different effects
Put requires the client to send the entire updated resource, while patch only requires the specific changes to be sent
The == operator checks for reference equality, while the equals method checks for value equality in strings.
Use == to check if two string variables refer to the same object in memory.
Use equals() method to check if two string variables have the same sequence of characters.
Example: String str1 = "hello"; String str2 = "hello"; str1 == str2 will return false, but str1.equals(str2) will return true.
String can be declared using double quotes, single quotes, or the String constructor.
Declare using double quotes: String str1 = "Hello";
Declare using single quotes: String str2 = 'World';
Declare using String constructor: String str3 = new String("Java");
String builder is not synchronized, while String buffer is synchronized.
String builder is faster than String buffer because it is not synchronized.
String buffer is thread-safe, while String builder is not.
String builder is preferred for single-threaded applications, while String buffer is preferred for multi-threaded applications.
Convert array to ArrayList of strings
Create a new ArrayList
Use Arrays.asList() method to convert array to ArrayList
Example: String[] array = {"apple", "banana", "orange"}; ArrayList
Top trending discussions
posted on 20 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
I applied via Job Fair and was interviewed in Aug 2024. There were 2 interview rounds.
There were around 20 questions in aptitude section to appear
It had 50 technical knowledge based questions on testing domain
posted on 6 Jul 2024
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
It was basic string and Collection questions. Lot of questions on core java and some selenium framework and architecture related questions.
posted on 29 May 2022
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
posted on 13 Jul 2024
I applied via Naukri.com
Abstraction in C# is the process of hiding the implementation details and showing only the necessary features of an object.
Abstraction allows us to focus on what an object does rather than how it does it
It helps in reducing complexity and improving maintainability of the code
In C#, abstraction is achieved using abstract classes and interfaces
XPath is a language used for navigating through XML documents and selecting nodes based on their attributes or values.
XPath stands for XML Path Language.
It is used to navigate through elements and attributes in an XML document.
There are two types of XPath: Absolute XPath and Relative XPath.
Absolute XPath starts from the root node, denoted by a single forward slash (/).
Relative XPath starts from the current node, denote
Yes, wait time can be changed during runtime by adjusting the code logic or configuration settings.
Wait time can be changed by modifying the code to include dynamic wait times based on certain conditions.
Configuration settings in the application or system can also be adjusted to change wait times.
For example, in automated testing scripts, wait times can be adjusted based on the response time of the application being te
To handle windows in Selenium, you can use the switchTo() method to switch between windows.
Use getWindowHandles() to get all window handles
Use switchTo().window() to switch to a specific window handle
Perform actions on the desired window
To handle a scroll bar, simply click and drag the scroll bar up or down to navigate through a webpage or document.
Click on the scroll bar and drag it up or down to move through the content.
Use the scroll wheel on your mouse to scroll up or down.
On touch devices, swipe up or down on the screen to scroll.
You can also use the arrow keys on your keyboard to scroll up or down.
To handle a popup window, you can use automation tools like Selenium WebDriver to locate and interact with the popup elements.
Use Selenium WebDriver to switch to the popup window
Identify and interact with elements on the popup window
Perform necessary actions on the popup window
Switch back to the main window after handling the popup
To open a new tab, you can use keyboard shortcuts or mouse clicks depending on the browser you are using.
For most browsers, you can open a new tab by pressing Ctrl + T on your keyboard.
Alternatively, you can right-click on a link and select 'Open link in new tab' from the context menu.
You can also click on the '+' icon next to the existing tabs to open a new tab.
Some browsers allow you to open a new tab by pressing Ctr
Java Selenium Coding
Associate Information Technology Consultant
5.2k
salaries
| ₹4.1 L/yr - ₹15 L/yr |
Lead Consultant
4.4k
salaries
| ₹9 L/yr - ₹35.4 L/yr |
Associate Consultant
854
salaries
| ₹2.5 L/yr - ₹16 L/yr |
Software Engineer
501
salaries
| ₹4 L/yr - ₹14 L/yr |
Senior Software Engineer
362
salaries
| ₹6.4 L/yr - ₹27 L/yr |
TCS
Wipro
HCLTech
Tech Mahindra