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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |