Skip to main content

13 docs tagged with "java"

View All Tags

Java

The Java programming language.

Java 21 String Templates

Java 21 introduced preview of String Templates which allow using string interpolation like Javascript Template Literals.

Java Constant

Java constant are defined in class as public static final with ALLCAPSWITH_UNDERSCORE name.

Java Enum

Java's enum not only includes names but can also have fields like other classes.

Java Interface

Java interface can define methods with default implementation and static methods.