what does the {0} in this line, double [] array = new double[] {0} , do in java?

后端 未结 0 1416
感情败类
感情败类 2020-11-27 16:03

I want to know what will happen to the array using this.

double [] array = new double[] {0}

does it initialize an array that all of its elements are zero? and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题