this
keyword refers to the current object.
super
keyword refers to a class’s base class in a method or constructor.
@Override
annotation is used when we override a method in subclass, though it is not mandatory to use this annotation.
(int)
” is type casting, which converts a double value to an integer value.
The field Math.PI
is the value close to π (3.14), and the method Math.pow(double a, double b)
returns the value of the first argument raised to the power of the second argument.
“Never, never, never give in!” ― Winston S. Churchill |