Java - Language

Java 15 Features

Sealed Classes

  1. Sealed Classes
  2. Defining the sealed class and all its permitted types in a single file
  3. Module and package constraint for permitted sub types
  4. Sealed classes and reflection

 

Record Classes

  1. Record classes in Java
  2. Structure of record definition
  3. Restrictions with record classes
  4. More restrictions with using record classes
  5. Compact constructor for Record classes
  6. Serialization of Record with circular references
  7. Reflection support for record classes

 

Text Blocks

  1. The Text Blocks
  2. Text Block Syntax - Deep Dive
  3. Incidental and essential white spaces in text blocks
  4. Techniques for including leading white spaces into text blocks
  5. Techniques for including trailing whitespaces into text blocks
  6. Tab character in text blocks
  7. Normalization of platform specific line terminator characters
  8. Usage of escape sequences in text blocks - '\n'
  9. Usage of escape sequence in text blocks - \"
  10. New escape sequence - \s
  11. New escape sequence - \
  12. Using -Xlint:text-blocks compiler option

 

Pattern Matching for instanceof

Java 16 Features

No comments:

Post a Comment