0% found this document useful (0 votes)
46 views

What Is Java

Java is an object-oriented programming language that is compiled into bytecode and runs on a Java Virtual Machine (JVM). It was originally designed for set-top boxes and handheld devices but became popular for building web applications using Java applets. Java's main advantages are that it is platform-independent, secure, robust and suitable for distributed applications. However, Java applications sometimes face performance and look-and-feel issues compared to native applications.

Uploaded by

Harlika Nobra
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

What Is Java

Java is an object-oriented programming language that is compiled into bytecode and runs on a Java Virtual Machine (JVM). It was originally designed for set-top boxes and handheld devices but became popular for building web applications using Java applets. Java's main advantages are that it is platform-independent, secure, robust and suitable for distributed applications. However, Java applications sometimes face performance and look-and-feel issues compared to native applications.

Uploaded by

Harlika Nobra
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

What is Java?

An Object-Oriented Language
Java is an object-oriented language similar to C++, but simplified to eliminate
language features that cause common programming errors. Java source code files
(files with a .java extension) are compiled into a format called bytecode (file s
with a .class extension), which can then be executed by a Java interpreter.
Compiled Java code can run on most computers because Java interpreters and
runtime environments, known as Java Virtual Machines (VMs), exist for most
operating systems, including UNIX, the Macintosh OS, and Windows. Bytecode
can also be converted directly into machine language instructions by a just-in-time
compiler (JIT). In 2007, most Java technologies were released under the GNU
General Public License.

Java on the Web


Java is a general purpose programming language with a number of features that
make the language well suited for use on the World Wide Web. Small Java
applications are called Java applets and can be downloaded from a Web server
and run on your computer by a Java-compatible Web browser.
Applications and websites using Java will not work unless Java is installed on
your device. When you download Java, the software contains the Java Runtime
Environment (JRE) which is needed to run in a Web browser. A component of the
JRE, the Java Plug-in software allows Java applets to run inside various browsers.
Java is a high-level programming language developed by Sun Microsystems. It
was originally designed for developing programs for set-top boxes and handheld
devices, but later became a popular choice for creating web applications.
Advantages and Disatvantages of Java

Advantages of Java
Java give an advantages to developers:

 Java is Object-Oriented: Java is object-oriented because programming in


Java is centered on creating objects, manipulating objects, and making
objects work together. This allows you to create modular programs and
reusable code.

 Java is Platform-Independent: One of the most significant advantages of


Java is its ability to move easily from one computer system to another.

 Java is Distributed: Distributed computing involves several computers on


a network working together. Java is designed to make distributed
computing easy with the networking capability that is inherently integrated
into it.

 Java is Secure: Java is one of the first programming languages to consider


security as part of its design. The Java language, compiler, interpreter, and
runtime environment were each developed with security in mind.

 Java is Robust: Robust means reliable and no programming language can


really assure reliability. Java puts a lot of emphasis on early checking for
possible errors, as Java compilers are able to detect many problems that
would first show up during execution time in other languages.
Disadvantages of Java

 Performance: Java can be perceived as significantly slower and more


memory-consuming than natively compiled languages such as C or C++.

 Look and feel: The default look and feel of GUI applications written in
Java using the Swing toolkit is very different from native applications. It is
possible to specify a different look and feel through the pluggable look and
feel system of Swing. Sun is working in this area and we can see some
great technologies from Sun in near future.

 Single-paradigm language: Java is predominantly a single-paradigm


language. However, with the addition of static imports in Java 5.0 the
procedural paradigm is better accommodated than in earlier versions of
Java.

Sources by :
http://www.webopedia.com/TERM/J/Java.html
http://techterms.com/definition/java
http://java-work.blogspot.co.id/2008/08/java-advantages-and-disadvantages.html
INDONESIA

Apa Itu Java?

Sebuah Bahasa Berorientasi Objek


Java adalah bahasa berorientasi objek yang mirip dengan C++, tetapi
disederhanakan untuk Menghilangkan Itu fitur bahasa kesalahan pemrograman
penyebab umum. Java file kode sumber (file dengan ekstensi .java) dikompilasi
ke dalam format yang disebut bytecode (s file dengan ekstensi .class), yang dapat
dieksekusi oleh interpreter Java maka. Dikompilasi kode Java dapat dijalankan
pada komputer PALING Karena juru Java dan lingkungan runtime, Dikenal
sebagai Java Virtual Machines (VMS), ada untuk sistem operasi PALING,
Termasuk UNIX, Macintosh OS, dan Windows. Juga bytecode dapat diubah
menjadi instruksi bahasa mesin Langsung oleh compiler (JIT) just-in-time. Pada
tahun 2007, teknologi Kebanyakan Java Apakah yang dirilis dibawah lisensi GNU
General Public.

Java di Web
Java adalah bahasa pemrograman yang bertujuan umum dengan sejumlah fitur Itu
membuat bahasa sangat cocok untuk digunakan di World Wide Web. Aplikasi
Java kecil disebut applet Java dan dapat didownload dari server Web dan
dijalankan pada komputer Anda dengan web browser Java.
Aplikasi dan situs web yang menggunakan Java tidak akan bekerja KECUALI
Java diinstal pada perangkat Anda. Ketika Anda mengunduh Java, perangkat
lunak berisi Java Runtime Environment (JRE) yang diperlukan untuk
menjalankan di browser Web. Sebuah komponen dari JRE, Jawa Plug-in
perangkat lunak Memungkinkan applet Java untuk menjalankan di berbagai
macam browser. Java adalah bahasa pemrograman tingkat tinggi yang
dikembangkan oleh Sun Microsystems. Pada awalnya dirancang untuk
Mengembangkan program untuk kotak set-top dan perangkat genggam, tetapi
kemudian menjadi pilihan populer untuk membuat aplikasi web.
Keuntungan dan kerugian dari java

Keuntungan dari Java


Memberikan keuntungan untuk pengembang Java:

 Java adalah Object-Oriented: Java adalah pemrograman berorientasi


objek dalam Karena Java berpusat pada membuat objek, memanipulasi
objek, dan membuat objek bekerja sama. Ini Memungkinkan Anda untuk
membuat program modular dan kode yang dapat digunakan kembali.

 Java adalah platform-independen: Salah satu keuntungan Paling


Signifikan Java adalah yaitu mudah untuk berpindah dari satu sistem
komputer ke komputer lain.

 Java Terdistribusi: komputasi terdistribusi Melibatkan beberapa


komputer pada jaringan yang bekerja sama. Java dirancang untuk
membuat komputasi yang terdistribusi jaringan mudah Dengan
kemampuan secara inheren terintegrasi ke dalamnya.

 Java yang aman: Java adalah salah satu bahasa pemrograman pertama
yang mempertimbangkan keamanan sebagai bagian dari desain. Bahasa
Java, kompiler, interpreter lingkungan, dan runtime dikembangkan dengan
keamanan nya sendiri.

 Java Kuat: Robust Berarti handal dan bukan bahasa pemrograman yang
bisa memastikan keandalannya. Java menempatkan banyak penekanan
pada pemeriksaan awal untuk kemungkinan kesalahan, seperti java
compiler yang dapat diandalkan untuk mendeteksi berbagai masalah yang
pertama akan muncul Selama waktu eksekusi dalam bahasa lain.
Kekurangan dari Java

 Kinerja: Java dapat dianggap sebagai signifikan lebih lambat dan


pemakaian memori lebih dari bahasa native dikompilasi: seperti C atau C
++.

 Tampilan dan nuansa: tampilan dan nuansa dasar dari aplikasi GUI
yang tertulis di Java menggunakan toolkit Swing yang sangat berbeda dari
aplikasi asli. Hal ini dimungkinkan untuk menentukan tampilan yang
berbeda dan dirasa melampaui tampilan pluggable dan merasa sistem
Swing. Sun bekerja di daerah ini dan kita dapat melihat beberapa teknologi
besar dari matahari dalam waktu dekat.

 bahasa Single-paradigma: Terutama Java adalah bahasa tunggal


paradigma. Namun, dengan Penambahan impor statis di Jawa 5.0
paradigma prosedural lebih baik daripada di Ditampung Versi sebelumnya
dari Jawa.

Sumber :
http://www.webopedia.com/TERM/J/Java.html
http://techterms.com/definition/java
http://java-work.blogspot.co.id/2008/08/java-advantages-and-disadvantages.html

You might also like