S
Stefan Ram
I used to think that it was common usage to use »C.f()« for
a static method »f()« and »C#f()« for a non-static method
»f()« of a class »C«.
Yet, in
http://docs.oracle.com/javase/7/docs/api/java/lang/Math.html
, there is a reference »Random.nextDouble()« given
(at the end of the expanded documentation of »random()«),
that refers to the non-static method
http://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextDouble()
. So is this now the official Java style to designate
even a non-static method »f()« of a class C by »C.f()«?
a static method »f()« and »C#f()« for a non-static method
»f()« of a class »C«.
Yet, in
http://docs.oracle.com/javase/7/docs/api/java/lang/Math.html
, there is a reference »Random.nextDouble()« given
(at the end of the expanded documentation of »random()«),
that refers to the non-static method
http://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextDouble()
. So is this now the official Java style to designate
even a non-static method »f()« of a class C by »C.f()«?