primitive types do not need new, but the value is not passed by reference.
int a = 0;
long b = 0L;
float c = 0f;
double d = 0d;
Reproduced in: https: //www.cnblogs.com/fanzi2009/archive/2009/12/23/1630755.html
primitive types do not need new, but the value is not passed by reference.
int a = 0;
long b = 0L;
float c = 0f;
double d = 0d;
Reproduced in: https: //www.cnblogs.com/fanzi2009/archive/2009/12/23/1630755.html