How to handle Exceptions in Java

In a nutshell, in Java, there are RuntimeExceptions, CheckedExceptions and Errors. 1. Errors are fatal occurrences you can’t handle – like an java.lang.OutOfMemoryError. You should do everything possible to code in such

Read article

Getters and Setters are evil

Getters and Setters are Evil Downloads Getters and Setters are Evil (Article) Introduction Since I started programming in Java in 2001, I have read so much about encapsulation. The Internet has become replete with Java a

Read article