I have two statements that I would like examples/deep explanations on.
Here there are :
(1)
"Always reference static variables and methods from a class name (rather
then a reference variable) to improve readability and avoid errors."
(2)
"Do not pass a parameter from a constructor to initialize a static data
field. It is better to use a setter method to change the static data field."