Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #20647
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Designation of a non-static method |
| Date | 2012-12-20 13:47 -0800 |
| Organization | Canadian Mind Products |
| Message-ID | <fj17d8tn3qqb9fsob2k6sn3vvmo9kkgrhu@4ax.com> (permalink) |
| References | <nextDouble-20121220200056@ram.dialup.fu-berlin.de> |
On 20 Dec 2012 19:06:03 GMT, ram@zedat.fu-berlin.de (Stefan Ram) wrote, quoted or indirectly quoted someone who said : > 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«. Random.nextDouble will not compile, but that is how the method is named in JavaDoc. I suppose JavaDoc could be changed to generate random.nextDouble to hint at the instanceness. On the other hand, you will get a warning if you do someobject.somestatic(). -- Roedy Green Canadian Mind Products http://mindprod.com Students who hire or con others to do their homework are as foolish as couch potatoes who hire others to go to the gym for them.
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: Designation of a non-static method Roedy Green <see_website@mindprod.com.invalid> - 2012-12-20 13:47 -0800
csiph-web