On Friday, 19 February 2021 at 08:29:36 UTC, Ferhat Kurtulmuş wrote:

Since classes are reference types all instances of files will be the same reference of "new File()", which you probably don't want.

Is any differences between x and y definitions?

MyClass [] x, y;
x = new MyClass[7];

y= new MyClass[](8);

Reply via email to