AKAnjan kumar Sharmainanjansharma.hashnode.dev·Jul 8, 2024 · 2 min readAutoBoxing 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...00
AKAnjan kumar Sharmainanjansharma.hashnode.dev·Jul 8, 2024 · 3 min readDate 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...00
AKAnjan kumar Sharmainanjansharma.hashnode.dev·Jul 8, 2024 · 2 min readWrapper 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,...00
AKAnjan kumar Sharmainanjansharma.hashnode.dev·Jul 7, 2024 · 2 min readInterface 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...00