Java Language Java Pitfalls - Language syntax


Several Java programming language misusage might conduct a program to generate incorrect results despite being compiled correctly. This topic main purpose is to list common pitfalls with their causes, and to propose the correct way to avoid falling in such problems.


This topic is about specific aspects of the Java language syntax that are either error prone or that that should not be used in certain ways.