Citibank- Interview Questions
Collection of Citibank Interview Questions. The section contains a real-time interview experience shared by the interviewees.
What you have done till now as part of your IT experience?
Do you know OOPs concepts and in a framework where and how you have implemented them?
Can we declare a private class?
What is the difference between == and equals?
How the string is immutable?
Where strings get stored and where reference gets stored?
Can you please explain with the reference to the memory location that how the string is immutable?
If we do not want to use String class then what can be used?
Difference between String and StringBuffer.
What collections you have used? Have you used HashMap?
Explain List declaration?
Where have you used Set?
You have an application like Flipkart and you want to buy a pen, so you have added that item two times to the cart using add to cart button, but in the cart, only one entry for an item should be displayed with quantity as 2, so how you’ll test this?
1 to 100 numbers will be flashed on the screen only once and you have to find the missing number.
I have a table and want to store all table data than which collection should be used and why?
What HashMap will return?
How to achieve inheritance without having an interface?
Method overloading and method overriding? Where used in the framework?
If I want that my class should not to be extended and the instance cannot be created by other classes then how to declare class?
How to store multiple values in one reference?
In cucumber, in which class you have glue code, how many classes for glue code, and what was the program line limit for the class?
How to find missing implementation in Cucumber?
Use of static data and dynamic data, what was the approach?
How to resolve conflicts while pushing code in Git?
Difference between QTP and Selenium (advantages and disadvantages).
How can we achieve parallel execution?
Running multiple tests for the same browser.
Running tests on different browsers.
Difference between Throw and Throws.
If an exception declared in throws and if an exception is encountered what will happen?
Difference between try/catch block and throws.
Explain different waits in Selenium.
Which wait is better?
The syntax for the implicit wait.
What does the driver.manage() do?
Database testing using Selenium. How will you establish a connection using a JDBC driver?
How do you fire queries while using JDBC?
Difference between Class and Instance variables.
Concept of Selenium Grid. Multiple nodes and errors.
How can you integrate Spring and hibernate?
How does hashmap work?
What is the difference between get and load?
How can you implement transactions?