Hi guys.

My question is: If I have a method which takes varargs, for example this:
public class Buffer {
 
	public void put(float ... data) {
		// do stuff!
	}
 
}
And I input an array, like this:
public class Application {
 
	private Buffer buffer;
	private float[] temp;
 
	public void submit() {
		buffer.put(temp);
	}
 
}

Would a new object be generated when "put" is called? Or would the array "temp" be used instead?

Thank you very much.