Java KeyWord
Java KeyWord
boolean A data type that can only store true and false values
byte A data type that can store whole numbers from -128 and 127
double A data type that can store whole numbers from 1.7e−308 to 1.7e+308
extends Extends a class (indicates that a class is inherited from another class)
final A non-access modifier used for classes, attributes and methods, which
makes them non-changeable (impossible to inherit or override)
finally Used with exceptions, a block of code that will be executed no matter
if there is an exception or not
float A data type that can store whole numbers from 3.4e−038 to 3.4e+038
int A data type that can store whole numbers from -2147483648 to
2147483647
interface Used to declare a special type of class that only contains abstract
methods
native Specifies that a method is not implemented in the same Java source
file (but in another language)
return Finished the execution of a method, and can be used to return a value
from a method
short A data type that can store whole numbers from -32768 to 32767
static A non-access modifier used for methods and attributes. Static
methods/attributes can be accessed without creating an object of a
class