Java

Java Streams Questions

Introduction A stream is like a pipeline with start, intermediate, and terminal operations, although it is similar to a Collection, however, there are some differences Write 5 Stream Sources Convert a List of Strings(India, Canada, USA) to a List Of Characters Finding the largest Element without using Built In Function from 4,8,24,3,22 Find the sum …

Java Streams Questions Read More »

PostgreSQL with SpringBoot

PostgreSQL PostgreSQL stands out as a sophisticated and enterprise-grade open-source relational database, offering robust support for both SQL (relational) and JSON (non-relational) queries. This well-established database management system has earned its reputation for stability through over two decades of community-driven development. This collaborative approach has played a pivotal role in ensuring its remarkable resilience, data …

PostgreSQL with SpringBoot Read More »

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.now() LocalDate.of(2021,12,21) LocalDate.parse(“2021-12-21”) localDate.plusWeeks(1) localDate.withYear(2021) LocalTime …

DateTime & Locale in Java 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