AutoBoxing and Unboxing In JavaData types in java Java has two categories of data types: primitive and reference. Primitive types are the basic types that store values directly in memory, such as int, char, boolean, and so on. Reference types are the types that store references to...Jul 8, 2024 · 2 min readanjansharma.hashnode.dev
Date and Time APIThe Date and Time API in Java, introduced in Java 8, provides a comprehensive set of classes for working with dates, times, durations, and time zones. Prior to Java 8, the handling of date and time in Java was done using classes like Date and Calenda...Jul 8, 2024 · 3 min readanjansharma.hashnode.dev
Wrapper classesJava has two categories of data types: primitive and reference. Primitive types are the basic types that store values directly in memory, such as int, char, boolean, and so on. Reference types are the types that store references to objects in memory,...Jul 8, 2024 · 2 min readanjansharma.hashnode.dev
Interface in javaIn Java, an interface is a reference type that defines a set of abstract methods that a class must implement. It is similar to a class, but it only contains method signatures without any method bodies. Interfaces are used to define a contract for cla...Jul 7, 2024 · 2 min readanjansharma.hashnode.dev