Why doesn’t Java use the out parameter in c#’s language syntax?
Although I'm not a big fan of using the out parameter in c#, I wonder why Java chose not to include it in its language syntax Is there any special reason or because one can simply pass an object as a parameter type?
Solution
Java is designed as a very simple language with a very simple syntax - in sharp contrast to C, it has rich functions that few people know and fully understand (including compiler implementers)
Basically, functions are omitted unless they are considered absolutely necessary
On the one hand, the goal has been achieved - there are few areas where Java behavior is difficult to understand or predict
On the other hand, the lack of functionality must be addressed, which leads to lengthy defamation of Java C #'s designers try to build on this basis
However, I personally will not point out that parameters are a great loss