Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/mstoynov/public_html_mihail.stoynov.com/wp-content/plugins/wp-syntax/wp-syntax.php on line 380
public class Peshev { public static void main(String... args) { String[] fff = new String[]{"a", "b",}; System.out.println(fff[0]+fff[1]); } } |
Do you see the trailing comma after “b”? That’s allowed. Unexpected from a strongly-typed lang as Java.
Seems so 🙂
http://hanuska.blogspot.com.es/2007/02/trailing-comma-in-arrays.html
It is convenient, safe, syntactic sugar. What’s the problem
it’s not a problem, I just discovered it. It is an interesting feature.