- The syntax of the Java programming language is the set of rules defining how a Java program is written and interpreted.
The syntax is mostly derived from C and C++. Unlike C++, Java is almost exclusively an object-oriented language. There are no global functions or variables, all code belongs to
classes and all values are objects. The only exception is the primitive types, which are not represented by a class instance due to performance reasons (though can be automatically converted to objects and vice-versa via autoboxing). Some features like operator overloading or unsigned integer types
are omitted to simplify the language and to avoid possible programming mistakes.
Java syntax
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment