Java Module (Minggu 2)
Java Module (Minggu 2)
television industry at the time. The history of Java starts with the Green Team.
Java team members (also known as Green Team), initiated this project to
develop a language for digital devices such as set-top boxes, televisions, etc.
However, it was best suited for internet programming. Later, Java technology
was incorporated by Netscape.
The principles for creating Java programming were "Simple, Robust, Portable,
Platform-independent, Secured, High Performance, Multithreaded,
Architecture Neutral, Object-Oriented, Interpreted, and Dynamic". Java was
developed by James Gosling, who is known as the father of Java, in 1995.
James Gosling and his team members started the project in the early '90s.
Prerequisite
To learn Java, you must have the basic knowledge of C/C++ programming
language.
Audience
Our Java programming tutorial is designed to help beginners and
professionals.
Problem
We assure that you will not find any problem in this Java tutorial. However, if
there is any mistake, please post the problem in the contact form.
If Java is installed, you will see something like this (depending on version):
If you do not have Java installed on your computer, you can download it for
free at oracle.com.
Note: In this tutorial, we will write Java code in a text editor. However, it is
possible to write Java in an Integrated Development Environment, such as
IntelliJ IDEA, Netbeans or Eclipse, which are particularly useful when
managing larger collections of Java files.
Don't worry if you don't understand the code above - we will discuss it in detail
in later chapters. For now, focus on how to run the code above.
Save the code in Notepad as "Main.java". Open Command Prompt (cmd.exe),
navigate to the directory where you saved your file, and type "javac Main.java":
This will compile your code. If there are no errors in the code, the command
prompt will take you to the next line. Now, type "java Main" to run the file:
References:
1. https://www.javatpoint.com/history-of-java
2. Java Getting Started (w3schools.com)
3. Source : https://www.glassdoor.com/Salaries/java-programmer-salary-
SRCH_KO0,15.htm
4.