问题描述:

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

相关阅读:
Top