Content deleted Content added
No edit summary |
ClueBot NG (talk | contribs) m Reverting possible vandalism by Vooop to version by 189.226.211.250. False positive? Report it. Thanks, ClueBot NG. (1853315) (Bot) |
||
Line 3:
The [[syntax]] of the [[Java (programming language)|Java programming language]] is the set of rules defining how a Java program is written and interpreted.
The syntax is mostly derived from [[C (programming language)|C]] and [[C++]]. Unlike C++, Java is almost exclusively an [[object-oriented language]]. There are no global functions or variables, all code belongs to [[class (computer science)|class]]es and all values are [[object (computer science)|object]]s. The only exception is the [[primitive type]]s, which are not represented by a class instance due to performance reasons (though can be automatically converted to objects and vice-versa via [[#Boxing and unboxing|autoboxing]]). Some features like [[operator overloading]] or [[unsigned integer]] types are omitted to simplify the language and to avoid possible programming mistakes.
|