+ 2
"new int()" or "= 0"?
What is better to use: int val = new int() or int val = 0?
1 Answer
+ 1
What is the context? To be honest there isn't much practical difference. "Int val = 0;" should be fine.
What is better to use: int val = new int() or int val = 0?