Starting out with Spring. And, I heard someone say that it prevents the use of the 'new' keyword. So, I was curious to know how would one write the code below the Spring DI way?
private ArrayList<String> arrayMan;
public SpringDI() {
arrayMan = new ArrayList<String>();
}