DEV Community

Benjamin Rukundo
Benjamin Rukundo

Posted on

3 1

Introduction to Java

image

What is Java?

Java is a popular programming language, created in 1995.

It is owned by Oracle, and more than 3 billion devices run Java.

It is used for:

  • Mobile applications (specially Android apps)
  • Desktop applications
  • Web applications
  • Web servers and application servers
  • Games
  • Database connection and much more

Why Use Java?

Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.) and thus platform independent.

  • 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
  • As Java is close to C++ and C#, it makes it easy for programmers to switch to Java or vice versa

How to get started

I would surely advice you to first downloading the Java Development Kit(jdk) from the official Oracle website here dependent on your system whether linux, Macos or Windows.

Next, I would download an Integrated Development Environment(IDE). They are a tone of IDE's out there but I would surely recommend Intellij IDE made by JetBrains due to a number of reasons here and there, you can download the Intellij community edition from here.

  • A quick hello world program
// a small Java program
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
Enter fullscreen mode Exit fullscreen mode

For a more detailed introduction to java programming, I would surely encourage you to check out this wonderful Introduction to Java - Architecture & Installation by kunal kushwaha

Feel free to connect with me on github and linkedin, thank you.

Happy new month to all of you!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay