Calling a method on a new object in Java without parentheses: order of operations violation?
This is because of how the grammar of Java language is defined. Precedence of operators comes into play just when the same lexical sequence could be parsed in two different ways but this is not the case. Why? Because the allocation is defined in: Primary: … new Creator while method call is defined in: Selector: … Read more