Java Introduction
Java is a popular & high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
It is owned by Oracle, and more than 5 billion systems / devices run Java. This tutorial gives a complete understanding of Java.
It is used for :
- Desktop applications
- Web applications
- Mobile applications
- Games
- Web servers and application servers
- Database connection
Why Use Java? :
- Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
- It is one of the most popular programming language in the world
- It is easy to learn and simple to use
- It is open-source and free
- It is secure, fast and powerful
- It has a huge community support (tens of millions of developers)
- Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs
Hello World using Java Programming:
public class MyFirstJavaProgram { /* This is my first java program. * This will print 'Hello World' as the output */ public static void main(String []args) { System.out.println("Hello World"); // prints Hello World } }