5 Special Keywords in Java Programming

9xcode.com

enum

This is a special type of class. Enum keyword defines a fixed set of constants. Enum constructors are always private or default.

extends

specifies whether a class inherits from another class or interface, or an interface inherits from another interface.

final

If method is final its cannot be overridden. final variable must be initialized only once.

finally

Its used in try/catch structure. It is used to release resources or perform cleanup tasks.

float

A primitive data type that can store 32-bit floating-point numbers, from 1.4e-45 to 3.4e+38.

Click Above images to View More Stories or swipe up.

Top 6 AI Writing Tools 

Top 6 Useful Keywords In Java 

Join WhatsApp Group Swipe up and get Freebies