Jigsaw: Intro to Java Platform Module System

Introduction The idea and exploration of Project Jigsaw began in 2008 with the aim to split JDK into smaller parts. Work on the design and implementation for Java 9 began in 2014 and was released as part of JDK 9 in September 2017. The major purposes of JPMS are the following. A format for module JAR files Partitioning of the JDK …

Jigsaw: Intro to Java Platform Module System Read More »

DateTime & Locale in Java

Introduction Java language supports working with date and time, formating dates, and resource bundles. Java 8 provides a lot of new libraries from java.time packages, earlier classes were from Date and Calendar. The later classes were mostly deprecated due to issues in i18n & localization. Date – Time LocalDate LocalDate.of(2021,12,21) LocalDate.parse(“2021-12-21”) localDate.plusWeeks(1) localDate.withYear(2021) LocalTime …

DateTime & Locale in Java Read More »

Internal workings of Java Virtual Machine

Introduction The Java virtual machine is an abstract (virtual) computer defined by JVM specification. JVM’s primary function is to execute the byte code and reference implementation is given out by the HotSpot JVM. HotSpot JVM is available in 32-bit and 64-bit variants. The JVM is primarily written in CPP and is open-sourced. JVM architecture can …

Internal workings of Java Virtual Machine Read More »

Java 101

Classes A Java class file is a file containing Java bytecode that can be executed on the Java Virtual Machine. A class could be public, default, strictftp, final, and abstract modifiers. Public Class from all packages access to public class. Default Class should be same package, or else it will not be not visible. Strictftp …

Java 101 Read More »

error: Content is protected !!
Scroll to Top