Users bdl and Ryan have taken some time to write new tutorials.
bdl has submitted a Java tutorial featuring Static methods. If you don't know, or aren't entirely clear on the subject then I highly suggest you have a look here:
System.out.println() is, infact, NOT static,
its the field ("out") that is static. its only
because the FIELD is static that it can be called
in this fashion.
__________________
direct entry file specification.
Originally posted by npa just a note about the java tutorial
its wrong ...
the .println() method refered to in:
System.out.println() is, infact, NOT static,
its the field ("out") that is static. its only
because the FIELD is static that it can be called
in this fashion.
Thanks very much for the clarification; as I was reading through the API, deciding whether that would make a good 'relatable example' of a static method, that detail escaped me. I'll look at updating (read: correcting) the tutorial. Any other suggestions?