Possible Duplicate:
new MyObject(); vs new MyObject;
What is the difference between
new Object
and
new Object()
Is there a reason to ever leave the parenthesis out or is that just something people do sometimes?
Possible Duplicate:
new MyObject(); vs new MyObject;
What is the difference between
new Object
and
new Object()
Is there a reason to ever leave the parenthesis out or is that just something people do sometimes?
No difference