Article
The Java Collections Framework is a fundamental and essential framework that any strong Java developer should know like the back of their hand. A Collection in Java is defined as a group or collection of individual objects that act as a single object. There are many collection classes in Java...
Vuk Skobalj
This article is the final tutorial of a series describing the often forgotten about methods of the Java language's base Object class. The following are the methods of the base Java Object which are present in all Java objects due to the implicit inheritance of Object. toString toClass equals hashCode...
Adam McQuistan
Password Encoding is the process in which a password is converted from a literal text format into a humanly unreadable sequence of characters. If done correctly, it is very difficult to revert back to the original password and so it helps secure user credentials and prevent unauthorized access to a...
David Landup
Lombok is an open-source library that is used to reduce boilerplate code in Java classes. This is achieved by replacing many of the repetitive pieces of code with simple and concise annotations. Lombok injects itself in the build process (via your project/IDE) and auto generates the Bytecode for the...
Dhananjay Singh
In this article, we'll explore many ways to Get the Current Date and Time in Java. Most applications have the need for timestamping events or showing date/times, among many other use-cases: When we publish blogs on a website, the date of posting gets written down into a database and...
In this article, we will look into few approaches of exception handling in Spring REST applications. This tutorial assumes that you have a basic knowledge of Spring and can create simple REST APIs using it. If you'd like to read more about exceptions and custom exceptions in Java, we've covered...
Converting a primitive int, or its respective wrapper class Integer, to a String is a common and simple operation. The same goes for the other way around, converting a String to Integer. Converting Integer to String When converting an int or Integer to a String, there are four approaches. The...
Converting a String to an int, or its respective wrapper class Integer, is a common and simple operation. The same goes for the other way around, converting a Integer to String. There are multiple ways to achieve this simple conversion using methods built-in to the JDK. Converting String to Integer...
© 2013-2025 Stack Abuse. All rights reserved.