

WHAT IS ANOTHER WORD FOR VARIABLE JAVA CODE
Used with exceptions, a block of code that will be executed no matter if there is an exception or notĪ data type that can store whole numbers from 3.4e−038 to 3.4e+038 New in Java 9Įxtends a class (indicates that a class is inherited from another class)Ī non-access modifier used for classes, attributes and methods, which makes them non-changeable (impossible to inherit or override) Used together with while to create a do-while loopĪ data type that can store whole numbers from 1.7e−308 to 1.7e+308ĭeclares an enumerated (unchangeable) typeĮxports a package with a module. Specifies the default block of code in a switch statement Marks a block of code in switch statementsĬatches exceptions generated by try statementsĪ data type that is used to store a single characterĬontinues to the next iteration of a loopĭefines a constant. The body is provided by the subclass (inherited from)Ī data type that can only store true and false valuesĪ data type that can store whole numbers from -128 and 127 An abstract method can only be used in an abstract class, and it does not have a body. Used for classes and methods: An abstract class cannot be used to create objects (to access it, it must be inherited from another class). Variables, methods, classes, or any other identifiers: KeywordĪ non-access modifier. Java has a set of keywords that are reserved words that cannot be used as
