i
Xebia
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
MVC Lifecycle is the sequence of events that occur in the Model-View-Controller architectural pattern.
MVC stands for Model-View-Controller.
The lifecycle starts with a user request.
The controller receives the request and processes it.
The controller updates the model with the necessary data.
The view is then updated with the updated model data.
The updated view is sent back to the user as a response.
Creating Threads in Java
Extending the Thread class and overriding the run() method
Implementing the Runnable interface and passing it to a Thread constructor
Using Executor framework to create and manage threads
Using Callable and Future interfaces to create threads that return values
HashMap is a data structure that stores key-value pairs. List is a collection of ordered elements.
HashMap allows fast retrieval of values based on keys.
List maintains the order of elements and allows duplicates.
HashMap uses hashing to store and retrieve elements.
List uses indexing to access elements.
HashMap is not thread-safe while List is thread-safe.
Example: HashMap
HashMap is a non-synchronized implementation of Map interface while HashTree is a synchronized implementation of Map interface.
HashMap is faster than HashTree as it is non-synchronized.
HashTree is thread-safe while HashMap is not.
HashMap allows one null key and multiple null values while HashTree does not allow null keys or values.
HashTree maintains the order of elements while HashMap does not.
HashMap is generally used...
The class used to connect with the Database depends on the programming language and framework being used.
In Java, the class used is usually DriverManager or DataSource.
In Python, the class used is usually psycopg2 or mysql-connector.
In PHP, the class used is usually PDO or mysqli.
The specific class used may also depend on the type of database being used, such as MySQL, PostgreSQL, or MongoDB.
Classes needed to create a GET REST API
Controller class to handle the request
Service class to perform business logic
Repository class to interact with database
Model class to define data structure
RequestMapping annotation to map the URL
An interface is a blueprint of a class. Default method is a method in an interface with a default implementation.
An interface defines a set of methods that a class must implement
Default method provides a default implementation for a method in an interface
Default methods were introduced in Java 8
Default methods can be overridden by implementing classes
An interface is used to define a contract between two components in a system.
An interface defines a set of methods that a class must implement.
Interfaces are used to achieve abstraction and loose coupling.
Interfaces are used to create reusable code.
Interfaces are used to enable polymorphism.
Interfaces are used in many programming languages, including Java, C#, and TypeScript.
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are objects of the same class.
It can be achieved through method overloading and method overriding.
Example: A parent class Animal can have multiple child classes like Dog, Cat, and Cow. All these child classes can have their own implementation of the method 'makeSound', which can be ca...
Top trending discussions
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed before May 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.
based on 1 interview
Interview experience
based on 7 reviews
Rating in categories
Senior Consultant
652
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Consultant
419
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
377
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Consultant
162
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
133
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech