Syntax #
- Class variables: Variables defined within the class with the
statickeyword - Constructors should have the same name as the class
- A class can have multiple constructors
finalfinalvariable makes it a constantfinalmethod prevents overridingfinalclass prevents inheritance
- There are
enumsin Java - You have to mark a method with
@Overrideif you are overriding it in Java