here spring is injecting the FieldValue bean, do we need new keyword again ? all I want is how to assign size. please correct me if am wrong.Code:And with good reason. length is a property that primitive array types provide, as a convenience for polling the size of the array. It can only be read from. Code: FieldValue [] fieldValues = new FieldValue[5]; System.out.println(fieldValues.length);




Reply With Quote