Java

From MUCSA Wiki

Jump to: navigation, search

Java is a common platform-independent object-oriented programming language originally developed by Sun Microsystems and released in 1995. The language derives much of its syntax from C and C++, but with a simpler object model and fewer low-level facilities. Java applications compiled to bytecode can run on any Java virtual machine, regardless of computer architecture.

At the University of Melbourne, Java is introduced in 433-254: Software Design. You will also likely encounter it in 300- and 400-level studies, particularly in the subjects concerned with practical Software Engineering.

The following code snippet implements your standard "Hello, World!" program in Java.

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