The Java Syntax


Java uses the same fundamental syntax as C and C++, but it is not designed to be backwards compatible with either of them: