Use final modifer liberally

The Final Word on the Final Modifier

Using final:

• Prevents bugs
• Ensures thread-safety
• Ensures security
• Generally improves performance
• Enforces better design/implementation - favoring composition over inheritance

Final modifier

Comments

Popular posts from this blog

Java InetAddress isReachable ICMP (Ping)

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure