What is Java Programming?

java dev.to

Java

  • Java is a high-level, Object-oriented programming language developed by James Gosling at Sun Microsystems (now owned by Oracle Corporation).

  • Java programming is the use of the Java language to create software applications. It’s one of the most widely used programming languages in the world.

Where is Java Used?
Java is used to build many types of applications:

  • Mobile apps (especially Android apps)

  • Web applications

  • Desktop software

  • Enterprise systems (banking, e-commerce)

  • Games and backend systems

Example
When we learn any programming language, the first step is writing a simple program to display "Hello World". So, here is a simple Java program that displays "Hello World" on the screen.

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}
Enter fullscreen mode Exit fullscreen mode

Output

Hello World!
Enter fullscreen mode Exit fullscreen mode

Source: dev.to

arrow_back Back to Tutorials