Java: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.8.6 |
Tidak ada ringkasan suntingan |
||
Baris 2:
{{redirect|Bahasa Java|bahasa daerah Jawa|bahasa Jawa}}
{{Infobox programming language
| name = Java
| logo = [[Berkas:Java Logo.svg|100px]]
| paradigm = [[Paradigma pemrograman#Multiparadigma|Multiparadigma]]: [[pemrograman generik|generik]], [[Pemrograman berorientasi objek|OOP]] ([[Pemrograman berbasis kelas]]), [[pemrograman fungsional|fungsional]], [[pemrograman imperatif|imperatif]], [[Reflektif (pemrograman komputer)|reflektif]], [[Komputasi bersamaan|bersamaan]]
| year = 1990-an
| designer = [[Sun Microsystems]]
| typing = kuat, statis
| implementations = Kompiler: [[OpenJDK]] (javac, sjavac), [[GNU Compiler for Java]] (GCJ), Eclipse Compiler for Java (ECJ)<br />Mesin virtual: OpenJDK JRE, [[JRockit|Oracle JRockit]], [[Azul Systems|Azul Zing]], [[OpenJ9|IBM J9]], [[Excelsior JET]], Gluon VM, [[Microsoft Java Virtual Machine|Microsoft JVM]], [[Apache Harmony]]<br />Kompiler JIT: [[HotSpot (mesin virtual)|HotSpot]], [[GraalVM]], [[Azul Systems|Azul Falcon (LLVM)]]
| latest release version = Java SE 16
| latest release date = {{start date and age|2021|3|16}}
| dialects =
| influenced_by = [[CLU (bahasa pemrograman)|CLU]],<ref name="BarbaraLiskov">{{cite book |title=Program Development in Java - Abstraction, Specification, and Object-Oriented Design|author=[[Barbara Liskov]] with [[John Guttag]]|isbn=9780201657685|publisher=USA, Addison Wesley|year=2000}}</ref> [[Simula67]],<ref name="BarbaraLiskov"/> [[Lisp (bahasa pemrograman)|Lisp]],<ref name="BarbaraLiskov"/> [[Smalltalk]],<ref name="BarbaraLiskov"/> [[Ada (bahasa pemrograman)|Ada 83]], [[C++]],<ref>{{cite web|url={{Google books|0rUtBAAAQBAJ|page=PA133|plainurl=yes}}|title=Cracking The Java Programming Interview :: 2000+ Java Interview Que/Ans|first=Harry H.|last=Chaudhary|access-date=2016-05-29|date=2014-07-28}}</ref> [[C Sharp (programming language)|C#]],<ref>Java 5.0 added several new language features (the [[foreach loop|enhanced for loop]], [[object type (object-oriented programming)#Autoboxing|autoboxing]], [[variadic function|varargs]] and [[Java annotation|annotations]]), after they were introduced in the similar (and competing) [[C Sharp (programming language)|C#]] language. [http://www.barrycornelius.com/papers/java5/] {{Webarchive|url=https://web.archive.org/web/20110319065438/http://www.barrycornelius.com/papers/java5/|date=March 19, 2011}} [http://www.levenez.com/lang/] {{Webarchive|url=https://web.archive.org/web/20060107162045/http://www.levenez.com/lang/|date=January 7, 2006}}</ref> [[Eiffel (programming language)|Eiffel]],<ref>{{cite web|author1=Gosling, James|author2=McGilton, Henry|title=The Java Language Environment|date=May 1996|url=https://www.oracle.com/technetwork/java/langenv-140151.html|access-date=May 6, 2014|archive-url=https://web.archive.org/web/20140506214653/http://www.oracle.com/technetwork/java/langenv-140151.html|archive-date=May 6, 2014|url-status=live|df=mdy-all}}</ref> [[Mesa (bahasa pemrograman)|Mesa]],<ref>{{cite web|author1=Gosling, James|author2=Joy, Bill|author3=Steele, Guy|author4=Bracha, Gilad|title=The Java Language Specification, 2nd Edition|url=https://java.sun.com/docs/books/jls/second_edition/html/intro.doc.html#237601|access-date=February 8, 2008|archive-url=https://web.archive.org/web/20110805051057/http://java.sun.com/docs/books/jls/second_edition/html/intro.doc.html#237601|archive-date=August 5, 2011 |url-status=live |df=mdy-all}}</ref> [[Modula-3]],<ref>{{cite web|url=http://www.computerworld.com.au/index.php/id;1422447371;pp;3;fp;4194304;fpid;1|title=The A-Z of Programming Languages: Modula-3|publisher=Computerworld.com.au|access-date=2010-06-09|url-status=dead|archive-url=https://web.archive.org/web/20090105145818/http://www.computerworld.com.au/index.php/id%3B1422447371%3Bpp%3B3%3Bfp%3B4194304%3Bfpid%3B1|archive-date=January 5, 2009|df=mdy-all}}</ref> [[Oberon (programming language)|Oberon]],<ref>[[Niklaus Wirth]] stated on a number of public occasions, e.g. in a lecture at the Polytechnic Museum, Moscow in September 2005 (several independent first-hand accounts in Russian exist, e.g. one with an audio recording: {{cite web|author=Filippova, Elena|title=Niklaus Wirth's lecture at the Polytechnic Museum in Moscow|date=September 22, 2005|url=http://www.delphikingdom.com/asp/viewitem.asp?catalogid=1155|access-date=November 20, 2011|archive-date=December 1, 2020|archive-url=https://web.archive.org/web/20201201054813/http://www.delphikingdom.com/asp/viewitem.asp?catalogid=1155|url-status=live}}), that the Sun Java design team licensed the Oberon compiler sources a number of years prior to the release of Java and examined it: a (relative) compactness, type safety, garbage collection, no multiple inheritance for classes{{snd}} all these key overall design features are shared by Java and Oberon.</ref> [[Objective-C]],<ref>[[Patrick Naughton]] cites [[Objective-C]] as a strong influence on the design of the Java programming language, stating that notable direct derivatives include Java interfaces (derived from Objective-C's [[Objective-C#Protocols|protocol]]) and primitive wrapper classes. [http://cs.gmu.edu/~sean/stuff/java-objc.html] {{Webarchive|url=https://web.archive.org/web/20110713014816/http://cs.gmu.edu/~sean/stuff/java-objc.html|date=July 13, 2011}}</ref> [[UCSD Pascal]],<ref>{{cite web|url=http://www.fscript.org/prof/javapassport.pdf|quote=The project went ahead under the name ''green'' and the language was based on an old model of [[UCSD Pascal]], which makes it possible to generate interpretive code.|title=History of Java|work=Java Application Servers Report|author=TechMetrix Research|year=1999|url-status=dead|archive-url=https://web.archive.org/web/20101229090912/http://www.fscript.org/prof/javapassport.pdf|archive-date=December 29, 2010|df=mdy-all}}</ref><ref>{{cite web|url=http://queue.acm.org/detail.cfm?id=1017013|title=A Conversation with James Gosling – ACM Queue |publisher=Queue.acm.org|date=August 31, 2004|access-date=2010-06-09|archive-url=https://web.archive.org/web/20150716194245/http://queue.acm.org/detail.cfm?id=1017013|archive-date=July 16, 2015|url-status=live|df=mdy-all}}</ref> [[Object Pascal]]<ref>In the summer of 1996, Sun was designing the precursor to what is now the event model of the AWT and the JavaBeans component architecture. Borland contributed greatly to this process. We looked very carefully at Delphi Object Pascal and built a working prototype of bound method references in order to understand their interaction with the Java programming language and its APIs.[https://web.archive.org/web/20120627043929/http://java.sun.com/docs/white/delegates.html White Paper About Microsoft's Delegates]</ref>
| influenced = [[Ada (bahasa pemrograman)|Ada 2005]], [[BeanShell]], [[C Sharp (bahasa pemrograman)|C#]], [[Chapel (bahasa pemrograman)|Chapel]],<ref name="chplspec">{{cite web|title=Chapel spec (Acknowledgements)|url=http://chapel.cray.com/spec/spec-0.98.pdf|date=2015-10-01|access-date=2016-01-14|publisher=Cray Inc.|archive-url=https://web.archive.org/web/20160205114946/http://chapel.cray.com/spec/spec-0.98.pdf|archive-date=February 5, 2016|url-status=live|df=mdy-all}}</ref> [[Clojure]], [[ECMAScript]], [[Fantom (bahasa pemrograman)|Fantom]], [[Gambas]],<ref name="gambas">{{cite web|url=http://gambaswiki.org/wiki/doc/intro?nh&l=en|title=Gambas Documentation Introduction|publisher=Gambas Website|access-date=2017-10-09|archive-url=https://web.archive.org/web/20171009041815/http://gambaswiki.org/wiki/doc/intro?nh&l=en|archive-date=October 9, 2017|url-status=live|df=mdy-all}}</ref> [[Groovy (bahasa pemrograman)|Groovy]], [[Hack (bahasa pemrograman)|Hack]],<ref>{{cite magazine|url=http://www.infoworld.com/article/2610885/facebook-q-a--hack-brings-static-typing-to-php-world.html|title=Facebook Q&A: Hack brings static typing to PHP world|magazine=InfoWorld|date=March 26, 2014|access-date=2015-01-11|archive-url=https://web.archive.org/web/20150213220946/http://www.infoworld.com/article/2610885/facebook-q-a--hack-brings-static-typing-to-php-world.html|archive-date=February 13, 2015|url-status=live|df=mdy-all}}</ref> [[Haxe (bahasa pemrograman)|Haxe]], [[J Sharp|J#]], [[Kotlin (bahasa pemrograman)|Kotlin]], [[PHP]], [[Python (bahasa pemrograman)|Python]], [[Scala (bahasa pemrograman)|Scala]], [[Seed7]], [[Vala (bahasa pemrograman)|Vala]], [[JavaScript]], [[JS++]]
}}
|