What is the difference between int maxrows=20 and using Integer maxRows=new Integer(20);?
posted 6 years ago
One's an object, one's a primitive. Yes, you can. If you're using Java 1.5+ it's relatively unusual you need to care because of autoboxing.