Content deleted Content added
rv vandalism |
expand intro slightly to give a clearer idea of what a keyword is to someone who doesn't know; add reference |
||
Line 1:
In the [[Java (programming language)|Java programming language]], a '''keyword''' is one of 50 [[reserved word]]s which have a predefined meaning in the language; because of this, programmers cannot use keywords as names for [[variable#Computer programming|variables]], [[method (computer science)|methods]], [[class (computer science)|classes]], or as any other [[identifier]].<ref name="keywords">{{cite web |title=Java Language Keywords |url=http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html |work=The Java Tutorials |publisher=[[Sun Microsystems, Inc.]] |year=2008 |month=February |accessdate=2008-12-02}}</ref> Due to their special functions in the language, most [[integrated development environment]]s for Java use [[syntax highlighting]] to display keywords in a different color for easy identification.{{fact}}
The following is a list of the keywords in Java, along with a brief description of their function:<ref name="keywords" />
;[[Abstract class|abstract]]
Line 166 ⟶ 168:
== References ==
* [[James Gosling|Gosling, James]]; [[Bill Joy|Joy, Bill]]; [[Guy Steele|Steele, Guy]]; & [[Gilad Bracha|Bracha, Gilad]] ([[2005]]). Java Language Specification, Third Edition. Addison-Wesley Professional. ISBN 0-321-24678-0. [http://java.sun.com/docs/books/jls/index.html online version]
{{reflist}}
[[Category:Java programming language]]
|