Filter interviews by
Servlet is an interface in Java EE used to handle HTTP requests and responses.
Servlet interface is implemented by classes like HttpServlet
It has methods like init(), service(), and destroy()
Servlets are used to create dynamic web pages and web applications
Oracle DB is a proprietary RDBMS while SQL DB is a generic term for any RDBMS that uses SQL as its language.
Oracle DB is developed and marketed by Oracle Corporation while SQL DB is a generic term for any RDBMS that uses SQL as its language.
Oracle DB is a proprietary RDBMS while SQL DB is a generic term for any RDBMS that uses SQL as its language.
Oracle DB has its own PL/SQL language while SQL DB uses SQL as its l...
Static block is a block of code that is executed when a class is loaded into memory.
Static block is declared using the 'static' keyword.
It is executed only once when the class is loaded.
It is used to initialize static variables or perform any other static initialization.
It can throw exceptions which need to be handled.
Multiple static blocks can be defined in a class and they are executed in the order they are defi...
Abstract is a keyword in Java used to create abstract classes and methods.
Abstract classes cannot be instantiated
Abstract methods do not have a body and must be implemented by the subclass
Abstract classes can have both abstract and non-abstract methods
Abstract classes are used to provide a common interface for its subclasses
Example: abstract class Animal { abstract void makeSound(); }
An SQL UPDATE query modifies existing records in a database table based on specified conditions.
Syntax: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;
Example: UPDATE employees SET salary = 50000 WHERE id = 1;
Use WHERE clause to specify which records to update; otherwise, all records will be updated.
You can update multiple columns in a single query.
Example: UPDATE products SET price = 20,...
Method overloading is having multiple methods with the same name but different parameters, while method overriding is having a subclass method with the same name and parameters as a superclass method.
Method overloading is resolved at compile-time based on the number and type of arguments passed
Method overriding is resolved at runtime based on the actual object type
Method overloading is used to provide different wa...
Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not.
Testing is done to identify defects or errors in the system
It helps in improving the quality of the system
Testing can be done at different levels such as unit testing, integration testing, system testing, and acceptance testing
Automated testing is becoming more popular du...
JSP does not have any implicit methods, but it has implicit objects.
JSP has implicit objects like request, response, session, application, pageContext, out, config, and exception.
These objects are automatically available in JSP pages without any declaration or initialization.
They can be used to perform various operations like accessing request parameters, setting session attributes, etc.
OOPs is a programming paradigm based on the concept of objects.
Encapsulation - bundling of data and methods that act on that data
Inheritance - ability of a class to inherit properties and methods from a parent class
Polymorphism - ability of objects to take on many forms
Abstraction - hiding of complex implementation details from the user
Abstract class can have implementation while interface only has method signatures.
Abstract class can have constructors while interface cannot.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract class can have non-abstract methods while interface only has abstract methods.
Abstract class is used for code reusability while interface is used for polymorphism.
Example of abstract cl...
I applied via Naukri.com
An SQL UPDATE query modifies existing records in a database table based on specified conditions.
Syntax: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;
Example: UPDATE employees SET salary = 50000 WHERE id = 1;
Use WHERE clause to specify which records to update; otherwise, all records will be updated.
You can update multiple columns in a single query.
Example: UPDATE products SET price = 20, stoc...
I know several frameworks including Spring, Hibernate, and Struts.
Spring: widely used for building enterprise-level applications
Hibernate: object-relational mapping framework for database access
Struts: MVC framework for building web applications
Top trending discussions
posted on 17 Mar 2021
I applied via Recruitment Consultant and was interviewed in Sep 2020. There was 1 interview round.
posted on 2 Jun 2022
I appeared for an interview before Jun 2021.
Had DSA and aptitude questions
I applied via Referral and was interviewed in Apr 2021. There were 5 interview rounds.
I am currently working on developing a mobile application for a client in the hospitality industry.
The application will allow users to make reservations and order food and drinks from their mobile devices.
We are using React Native for the front-end and Node.js for the back-end.
We are also implementing a payment gateway to allow for secure transactions.
The client has requested that the app be available in both iOS and A...
I applied via Referral and was interviewed in May 2021. There was 1 interview round.
I appeared for an interview in Nov 2020.
Round duration - 2 hours
Round difficulty - Medium
In the 1st round
Aptitude
Reasoning
English
Automata fix( code debug)
Timing in morning
Environment is good
Interviewer was very cool and interactive
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Round duration - 30 minutes
Round difficulty - Medium
This is interview round
Ques from basic electronics
C language
Create a class named Person
with a string variable 'name'
and an integer variable 'age'
, such that these variables are not accessible outside the class. Implement a me...
Create a class Person with private variables name and age, and methods to set and get their values.
Create a class Person with private variables 'name' and 'age'.
Implement a method setValue to set the variables' values.
Implement a method getValue to print the variables' values.
Ensure the name is a non-empty string and the age is a non-negative integer.
Encapsulate the data and provide a clear interface for setting and ge...
Tip 1 : Do aptitude from indiabix. Go through your basics. At least one language u know. Learn about your branch basics. Know concept of data structure and oops.
Tip 2 : prepare your final project well.
Tip 1 : the skills you know very well mention in resume
Tip 2 : mention project in resume
I applied via LinkedIn and was interviewed in Apr 2021. There was 1 interview round.
HTML
Aptitude and resume shortlist and HTML
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
Cognizant
EXL Service
Sutherland Global Services
Optum Global Solutions