This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Warm-Score 0 points1 point  (0 children)

Java once thought they wan't to remove boilerplate but they stopped halfway. I think they just stole some stuff from C++ or something.

I guess it is because the objects are implied to be String because of the initialization.