Table of Contents Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Java Programing

From Wikiversity - Reading time: 1 min

This is going to be an article on Java Programing. Java is a very diverse programing language. There is a lot to learn.

First Things First[edit | edit source]

First you have to get an IDE. The most popular one is Eclipse(available here). You could also get NetBeans(available here), but since Eclipse is more popular, we shall be using Eclipse. To be sure on the download page for Eclipse download the Eclipse IDE for Java Developers version. Also download the JDK from here.

Basic Programs

Hello, World!

class Watermelon{
    public static void main(String[] args){
          System.out.println("Hello, World!");
     }
}

The output would be:

Hello, World!

Explaing the program

This section explains the program line by line.


Licensed under CC BY-SA 3.0 | Source: https://en.wikiversity.org/wiki/Java_Programing
18 views | Status: cached on January 03 2024 09:29:20
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF