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

Oracle JDBC ReadTimeout QueryTimeout

Java InetAddress isReachable ICMP (Ping)

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