In Java, is there a difference between these two function declarations?
public void foo() {} public void foo(void) {}
Here you can find the answer to this question, but for C / C ++ . In these languages, he fully understands the existence of both styles of declaration.
But what is the point of this in Java ?
java methods
eversor Nov 21 2018-11-11T00: 00
source share