Not yet rated
Tags:

Problem

Learning JAVA

Solution

public class HelloWorldConsole { public static void main(String args[]) { System.out.println("Hello, World!!!"); } } // classic hello word in JAVA

Detailed explanation

 - JAVA is case sensitive

Not to be confused with  JavaScript.

Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless ofcomputer architecture.

 

Principles

There were five primary goals in the creation of the Java language:

  1. It should be "simple, object oriented, and familiar".
  2. It should be "robust and secure".
  3. It should be "architecture neutral and portable".
  4. It should execute with "high performance".
  5. It should be "interpreted, threaded, and dynamic".

 

-------------------------------------------------------------------------------------------------------------





+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes