Filter interviews by
I applied via Naukri.com
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 defined.
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 ways of...
Yes, null value can be added in HashMap.
HashMap allows null as key and value.
If a null key is added, it will replace the existing null key.
If a null value is added, it will be stored as a value with a null key.
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 due to ...
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 class: ...
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 langua...
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 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(); }
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.
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
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
Rate your
company
🤫 100% anonymous
How was your last interview experience?
I am a data analyst with a strong background in statistics and data visualization.
Graduated with a degree in Statistics
Proficient in programming languages like Python and R
Experience in analyzing large datasets and creating data visualizations
Strong problem-solving skills
Excellent communication and presentation skills
DTP stands for Desktop Publishing. It refers to the process of creating and designing documents using specialized software.
DTP involves the use of software like Adobe InDesign, QuarkXPress, or Microsoft Publisher.
It is commonly used for creating brochures, flyers, newsletters, and other printed materials.
DTP allows for precise layout and formatting of text, images, and graphics.
It involves tasks like typesetting, page ...
Top trending discussions
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2020. There were 3 interview rounds.
Angular has several lifecycle methods that are called at different stages of a component's life.
ngOnInit() - called after the component is initialized
ngOnChanges() - called when the component's input properties change
ngDoCheck() - called during every change detection cycle
ngAfterViewInit() - called after the component's view has been initialized
ngOnDestroy() - called just before the component is destroyed
Pipes are a feature in Angular that allow for data transformation before displaying it in the view.
Pipes are used to format data in the view
They can be used to filter, sort, and transform data
Examples include the date pipe, currency pipe, and uppercase pipe
Global error handling in Angular can be done using ErrorHandler class.
Create a class that implements the ErrorHandler interface
Override the handleError() method to handle errors globally
Provide the ErrorHandler class in the providers array of AppModule
Use the error handling service to log errors or display error messages
Custom directives are a way to extend HTML with new attributes and functionality.
Types of custom directives are attribute, element, and class directives.
Attribute directives modify the behavior of existing HTML elements.
Element directives create new HTML elements.
Class directives modify the behavior of existing HTML elements based on their class.
To create a custom directive, use the directive() method of the AngularJS ...
I applied via Job Portal and was interviewed in Oct 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2020. There were 3 interview rounds.
Answering technical questions on Cucumber, Jenkins, TestNG, Selenium, and Core Java.
To build a job in Jenkins, create a new job and configure it to run the test suite using Maven or Gradle.
TestNG annotations like @BeforeTest and @AfterTest can be used to set up and tear down test environments.
Selenium Action Classes like Actions and Select can be used to perform complex user interactions.
The Robot class can be used to ...
I applied via Referral and was interviewed before Dec 2020. There were 3 interview rounds.
Anonymously discuss salaries, work culture, and many more
Get Ambitionbox App
Cognizant
Sutherland Global Services
Optum Global Solutions
Hexaware Technologies