core

Generics in Java

Generics means parameterized types. The idea is to allow type (Integer, String, … etc., and user-defined types) to be a parameter to methods, classes, and interfaces. Using Generics, it is possible to create classes that work with different data types. An entity such as class, interface, or method that operates on a parameterized type is a generic entity.

Posted August 19, 2022 by Anusha ‐ 4 min read

core java programming generics

Lambda Expressions

A lambda expression is a short block of code which takes in parameters and returns a value. Lambda expressions are similar to methods, but they do not need a name and they can be implemented right in the body of a method.

Posted August 22, 2022 by Anusha ‐ 3 min read

core java programming lambda-expressions

Joda Time

Joda-Time is an API created by joda.org which offers better classes and having efficient methods to handle date and time than classes from java.util package like Calendar, Gregorian Calendar, Date, etc. This API is included in Java 8.0 with the java.time package.

Posted August 22, 2022 by Anusha ‐ 3 min read

core java programming joda-time

Streams API

Java provides a new additional package in Java 8 called java.util.stream. This package consists of classes, interfaces and enum to allows functional-style operations on the elements. You can use stream by importing java.util.stream package.

Posted August 22, 2022 by Anusha ‐ 5 min read

core java streams-api programming

Annotations In Java

Java annotations are metadata (data about data) for our program source code. They provide additional information about the program to the compiler but are not part of the program itself. These annotations do not affect the execution of the compiled program.

Posted August 24, 2022 by Anusha ‐ 4 min read

core java annotations programming

Subscribe For More Content