What is Spring MVC?
The Spring Web model-view-controller (MVC) framework is designed around a
DispatcherServlet that dispatches requests to handlers, with configurable handler mappings, view resolution, locale and theme resolution as well as support for uploading files. The default handler is based on the
@RequestMapping annotations, offering a wide range of flexible handling methods.
Spring Framework is based on two design principles — Dependency Injection and IOC.
Prerequisites: Before proceeding with this blog, you should have a good understanding of Java programming language.
Inversion of Control is a…
What is Servlet?
Today we all are aware of the need of creating dynamic web pages i.e the ones which have the capability to change the site contents according to the time or are able to generate the contents according to the request received by the client. If you like coding in Java, then you will be happy to know that using Java there also exists a way to generate dynamic web pages and that way is Java Servlet. But before we move forward with our topic let’s first understand the need for server-side extensions.
Below is the list of…
CSS Grid Layout is the most powerful layout system available in CSS. It is a 2-dimensional system, meaning it can handle both columns and rows, unlike flexbox which is largely a 1-dimensional system.
What is Grid?
A grid is a set of intersecting horizontal and vertical lines defining columns and rows. Elements can be placed onto the grid within these column and row lines. CSS grid layout has the following features:
What is CSS Flexbox model?
The CSS flexbox model is used to make the elements behave predictably when they are used with several screen sizes and different display devices. It provides a more dynamic or flexible way to layout, align and distribute space among items in the container.
The CSS flexbox can control the following aspects of the layout:
What is Normalization?
There are three types of anomalies that we should avoid or minimize :
For example: assume that Student_Group attribute is defined so that null values are not allowed. If a new employee is hired but not immediately assigned to a Student_Group then this employee could not be entered into the database. …
One of the most interesting and really useful concepts in java.
What is Collection?
Collections are like containers that group multiple items in a single unit. For example, a folder of movies, a list of names, etc. In other, If we want to Represent a Group of Individual Objects as a Single Entity then we should go for Collection.
Why should be go for collection framework if we have an array?
because there is some limitation of the array:
Arrays are Fixed in Size that is Once we created an Array there is No Chance of Increasing OR Decreasing Size…
Why should we even care about the complexity of the program?
Think you and your friend wrote some algorithm(finite sequence of instruction)which solves the same problem, but how do you get to know which algorithm is more efficient and the challenge here is to choose the most efficient one. This is the case where complexity analysis plays a major role.
So how do we compare the two algorithms?
We can compare the algorithms on the basis of their space (amount of memory consume) and time complexity (number of operations performed).
What is Time Complexity?
The time complexity is the computational…
A most important question according to interview perceptive
This blog is really useful for a beginner (one who is struggling with OOPs concept) or one who is preparing for campus placement or interview.
OOPs(Objects Oriented Programming) is basically sound simple but also quite interesting and really important concepts in almost every programming language(like C++, Java, Dart, Swift, Scala, etc). Firstly OOPs depend on class, objects, inheritance, abstraction, etc. We will learn each concept of OOPS in detail be patient. The four basic concepts of Objects Oriented Programming are encapsulation, abstraction, inheritance, and polymorphism.
Let’s get started…
The question is quite old but still confusing.
git revert simply creates a new commit that is the opposite of a specific commit. Let’s break that down a bit. If a character is added in commit A, if Git reverts commit A, then Git will make a new commit where that character is deleted(opposite of commit A).
You have three commits in commit history and last commit(or last changes) has some bug or you don’t want those changes, so you decide to remove the change of the last commit
$ git init
Initialized empty Git repository in Desktop/Projects/RevertExample/.git/$ echo…
Let’s Have Coffee & Code it