Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
posted on 20 Jul 2024
Exception handling in Java is a mechanism to handle runtime errors and prevent program crashes.
Use try-catch blocks to handle exceptions
Use finally block to execute code regardless of exception
Use throw keyword to manually throw exceptions
Use throws keyword in method signature to declare exceptions that can be thrown
posted on 22 Nov 2024
Smoke testing is a quick test to check if the basic functionalities of the software are working, while sanity testing is a more thorough test to ensure that the software is ready for further testing.
Smoke testing is done to check if the critical functionalities of the software are working properly.
Sanity testing is done to ensure that the software is stable and ready for further testing.
Smoke testing is usually done be...
I applied via LinkedIn and was interviewed before Dec 2023. There were 3 interview rounds.
posted on 26 May 2024
I applied via Walk-in and was interviewed before May 2023. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2023. There was 1 interview round.
Test scenarios are high-level descriptions of the functionality to be tested, while test cases are detailed steps to validate the scenarios.
Test scenarios are broad and cover multiple test cases.
Test cases are specific steps to validate a particular scenario.
Test scenarios are usually created at the beginning of testing, while test cases are derived from scenarios.
Test scenarios are used for high-level planning and est...
Use cases for application involve identifying different scenarios in which the application can be used to meet user needs.
Testing different user interactions
Validating system functionality
Identifying edge cases
Ensuring compatibility with different devices
Verifying data integrity
I was interviewed in Oct 2021.
Round duration - 60 Minutes
Round difficulty - Medium
In this round, the interviewer first started asking me questions around Java and Java 8 and then he switched to OOPS and SQL.
What are Java 8 streams?
A stream is an abstraction to express data processing queries in a declarative way.
A Stream, which represents a sequence of data objects & series of operations on that data is a data pipeline that is not related to Java I/O Streams does not hold any data permanently.
The key interface is "java.util.stream.Stream". It accepts Functional Interfaces so that lambdas can be passed. Streams support a fluent interfac
What are the features of a lambda expression?
Below are the two significant features of the methods that are defined as the lambda expressions:
1) Lambda expressions can be passed as a parameter to another method.
2) Lambda expressions can be standalone without belonging to any class.
Difference between Abstract class and Interface.
Answer :
The differences between Abstract Class and Interface are as follows:
Abstract Class:
1) Abstract classes have a default constructor and it is called whenever the concrete subclass is instantiated.
2) It contains Abstract methods as well as Non-Abstract methods.
3) The class which extends the Abstract class shouldn’t require the implementation of all the methods, only Abstract
methods need to be implemented in the co...
What do you mean by data encapsulation?
1) Data Encapsulation is an Object-Oriented Programming concept of hiding the data attributes and their behaviors in a single unit.
2) It helps developers to follow modularity while developing software by ensuring that each object is independent of other objects by having its own methods, attributes, and functionalities.
3) It is used for the security of the private properties of an object and hence serves the purpose of
Explain the use of final keyword in variable, method and class.
In Java, the final keyword is used as defining something as constant /final and represents the non-access modifier.
1) final variable :
i) When a variable is declared as final in Java, the value can’t be modified once it has been assigned.
ii) If any value has not been assigned to that variable, then it can be assigned only by the constructor of the class.
2) final method :
i) A method declared as final cannot be overridden...
Can the static methods be overridden?
1) No. Declaration of static methods having the same signature can be done in the subclass but run time polymorphism can not take place in such cases.
2) Overriding or dynamic polymorphism occurs during the runtime, but the static methods are loaded and looked up at the compile time statically. Hence, these methods cant be overridden.
What is the difference between CHAR and VARCHAR2 datatype in SQL?
Both of these data types are used for characters, but varchar2 is used for character strings of variable length, whereas char is used for character strings of fixed length. For example, if we specify the type as char(5) then we will not be allowed to store a string of any other length in this variable, but if we specify the type of this variable as varchar2(5) then we will be allowed to store strings of variable length...
What is the view in SQL?
Views in SQL are a kind of virtual table. A view also has rows and columns as they are on a real table in the database. We can create a view by selecting fields from one or more tables present in the database. A View can either have all the rows of a table or specific rows based on certain conditions.
The CREATE VIEW statement of SQL is used for creating views.
Basic Syntax :
CREATE VIEW view_name AS
SELE...
Round duration - 60 Minutes
Round difficulty - Medium
In this round, the interviewer asked me questions around BDD Frameworks, Cucumber and C#. At the end, I was also asked some basic questions revolving around SQL.
Explain briefly how Behavioral Driven Development works?
There are majorly three steps in the working of BDD. They are as follows :-
1) Behaviour Description : We list down the features of our application first in the feature file.
2) Making the Step Definition file : The mapping between each step of the scenario defined in the feature file and a
code of the function to be executed is stored in the steps definition file.
3) Testing and running : We run the test cases to check if...
What are annotations in Cucumber?
An annotation is a type of text that has been pre-defined and has a specified meaning. It tells the compiler/interpreter
what to do when the program runs. The annotations on Cucumber are as follows:
1) Given : It specifies the requirements for running the test.
Example : Given I have an account on Interviewbit.
2) When : It establishes the starting point for any test scenario.
Example : When I log in to Interviewbit.
3) Then...
How can you run a selected test from a group of tests in Cucumber?
1) We may execute a single test from a set of tests in the Cucumber framework using the tags idea.
2) This is found in the TestRunner file's @CucumberOptions section. With the use of the @t keyword, we may tag a scenario in the feature file.
3) A scenario can have one or more tags within the feature file. We can separate test scenarios with the assistance of tagging.
4) We must pass the value within the tags a...
What is the difference between an Array and ArrayList in C#?
An array is a collection of similar variables clubbed together under one common name. While ArrayList is a collection of objects that can be indexed individually. With ArrayList you can access a number of features like dynamic memory allocation, adding, searching, and sorting items in the ArrayList.
1) When declaring an array the size of the items is fixed therefore, the memory allocation is fixed. But with ArrayL...
What is Reflection in C#?
Reflection in C# extracts metadata from the datatypes during runtime.
To add reflection in the .NET framework, simply use System.Refelction namespace in your program to retrieve the type which can be anything from :
1) Assembly
2) Module
3) Enum
4) MethodInfo
5) ConstructorInfo
6) MemberInfo
7) ParameterInfo
8) Type
9) FieldInfo
10) EventInfo
11) PropertyInfo
Second Highest Salary
Approach : Sort the distinct salary in descend order and then utilize the LIMIT clause to get the second highest salary.
Query :
SELECT DISTINCT Salary
FROM Employee
ORDER BY Salary DESC
LIMIT 1 OFFSET 1;
What is an ALIAS command?
Aliases are the temporary names given to a table or column for the purpose of a particular SQL query. It is used when the name of a column or table is used other than their original name, but the modified name is only temporary.
1) Aliases are created to make table or column names more readable.
2) The renaming is just a temporary change and the table name does not change in the original database.
3) Aliases are useful wh...
Round duration - 30 Minutes
Round difficulty - Easy
This was a Technical Cum HR round where I was first asked some basic Java related concepts and then we discussed
about my expectations from the company , learnings and growth in the forthcomig years. I would suggest be honest and
try to communicate your thoughts properly in these type of rounds to maximise your chances of getting selected.
Why should we hire you ?
Tip 1 : The cross questioning can go intense some time, think before you speak.
Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round,
like what are the projects currently the company is investing, which team you are mentoring. How all is the ...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Referral and was interviewed in May 2024. There were 3 interview rounds.
Find min and max number in an array of strings
Convert array elements to integers for comparison
Use built-in functions like Math.min() and Math.max()
Handle edge cases like empty array or non-numeric elements
Senior Software Engineer
2.6k
salaries
| ₹15 L/yr - ₹42.7 L/yr |
Software Engineer
1.7k
salaries
| ₹6.9 L/yr - ₹24 L/yr |
Lead Software Engineer
831
salaries
| ₹18 L/yr - ₹52 L/yr |
Senior Systems Engineer
304
salaries
| ₹12 L/yr - ₹36.3 L/yr |
Software Test Automation Engineer
267
salaries
| ₹7 L/yr - ₹20 L/yr |
TCS
Infosys
Wipro
HCLTech