The scope of making errors by the developer would be less.
What I mean is : if there is an integer field in a class , it is better to declare it as an 'int', because now it is impossible for the developer to set a null value, which the developer can do with Integer type
The scope of making errors by the developer would be less. What I mean is : if there is an integer field in a class , it is better to declare it as an 'int', because now it is impossible for the developer to set a
null
value, which the developer can do withInteger
type