Filter interviews by
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.
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.
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...
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
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...
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...
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(); }
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
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...
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
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
I applied via Walk-in and was interviewed before Oct 2020. There was 1 interview round.
I applied via LinkedIn and was interviewed before Jun 2021. There were 2 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed before Jan 2020. There were 4 interview rounds.
I come from a close-knit family that values education and community service, with diverse backgrounds and strong support for each other.
My parents are both educators, which instilled a love for learning in me from a young age.
I have two siblings; we often collaborate on projects and support each other's goals.
Family gatherings are frequent, where we share stories and celebrate our cultural heritage.
My grandparents were...
I appeared for an interview before Jan 2021.
I applied via Naukri.com and was interviewed before Mar 2020. There were 5 interview rounds.
The life cycle of fragments in Android refers to the stages of creation, addition, and removal of fragments in an activity.
Fragments are created using the onCreateView() method
They are added to an activity using the FragmentManager
They can be removed using the FragmentTransaction
The onDestroyView() method is called when a fragment is removed
Fragments can be retained during configuration changes using setRetainInstance(...
I applied via Recruitment Consultant and was interviewed before Sep 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in May 2019. There were 3 interview rounds.
RSpec is a testing tool for Ruby programming language.
RSpec is a behavior-driven development (BDD) framework.
It allows developers to write tests that describe the expected behavior of the code.
RSpec provides a domain-specific language (DSL) for writing tests.
It can be used for unit testing, integration testing, and acceptance testing.
RSpec is widely used in the Ruby community and is considered a standard tool for testi...
I recently used the gem 'devise' for user authentication in a Rails project.
Devise is a popular gem for user authentication in Rails applications.
It provides a lot of built-in functionality such as user registration, login, and password reset.
Devise also allows for customization and configuration to fit specific project needs.
Example: I used Devise to create a secure login system for a social media platform.
Example: De...
A module is a file containing Python definitions and statements. A class is a blueprint for creating objects.
A module can have multiple classes and functions.
A class can have multiple methods and attributes.
Modules are used for organizing code and avoiding naming conflicts.
Classes are used for creating objects with similar properties and behaviors.
Modules are imported using the import statement.
Classes are instantiated...
Class variables are shared among all instances of a class while instance variables are unique to each instance.
Class variables are defined within the class but outside of any methods.
Instance variables are defined within a class's methods and are unique to each instance.
Class variables are accessed using the class name while instance variables are accessed using the instance name.
Example of class variable: count = 0 (u...
ELITE Information Technology
Nisarga Information Technology Solutions
Elnet Technologies
Dkg Labs