SortedMap is a map that always maintains its corresponding entries in ascending key order. In Hibernate, using the <map> element and ‘sort’ as ‘natural’ we… Read More
Category Archives: Java
What will happen if we use Array.length()? Before moving to the reason why we cannot write Array.length(), let us first see what will happen if… Read More
Plugins are software components that provide certain features to an existing computer program without altering the host program itself. Plugins can be used in web… Read More
When the world is witnessing the immersive expansion in the field of technology, Java has been consistently playing one-sided games in programming. That’s why it’s… Read More
An array in Java is a group of like-typed variables referred to by a common name. Arrays in Java work differently than they do in… Read More
Given an array arr of N objects, the task is to remove all the occurrences of a given object from the array in Java. Example:… Read More
Content Removed Recommended Solve DSA problems on GfG Practice. Solve Problems My Personal Notes arrow_drop_up Save
Being one of the oldest and widest used programming languages, Java is being considered for all scale industries from small to medium to large and… Read More
Security is an important concept in any web application. We need to have the passwords stored in an encrypted way i.e. the passwords are not… Read More
Data Binding, as the name itself, is a self-explanatory word. In data binding what we have to do is we have to capture or store… Read More
WireMock is a tool for mocking HTTP-based APIs that runs in the unit tests, on the desktop, or in the test environment. We can also… Read More
WireMock is a tool for mocking HTTP-based APIs that runs in the unit tests, on the desktop, or in the test environment. We can also… Read More
Mockito is an open-source testing framework used for unit testing of Java applications. It plays a vital role in developing testable applications. Mockito is used… Read More
Maven is a powerful project management tool based on POM (project object model). It is used for project build, dependency, and documentation. It simplifies the… Read More
In primitive casting, we can convert the byte data type information into the integer data type information by using implicit typecasting. When we try to convert… Read More