25 ms·
There is no requirement to include comments with the author and date. Package private is a reasonable choice for the default access modifier. Changing the defa
by nradov 9y ago
There is no requirement to include comments with the author and date.
Package private is a reasonable choice for the default access modifier. Changing the default to be public or private wouldn't improve the language.
- nailer 9y ago> There is no requirement to include comments with the author and date. Ack, but it's a strange culture that does so. So you can omit 'public' or 'private' as keywords and the function / method will be package-private?
- nradov 9y agoYes that's clearly stated in the Java Language Specification.