Java syntax: Difference between revisions

Content deleted Content added
Modifiers: Add excerpt for abstract class
Modifiers: Add excerpt for final method
Line 1,186:
* '''<code>synchronized</code>''' - Declares that a thread executing this method must acquire monitor. For <code>synchronized</code> methods the monitor is the class instance or <code>java.lang.Class</code> if the method is static.
* Access modifiers - Identical to those used with classes.
 
=====Final methods=====
{{Excerpt|final (Java)#Final methods}}
 
=====Varargs=====