The Programming Language Java
In this lesson, we will introduce you to Java, and its advantages.
Advantages
Created by James Gosling of Sun Microsystems, Java was presented to the public in 1995. In 2010, Oracle Corporation acquired Sun Microsystems. Compared to other programming languages, Java isn’t as old. Although it was originally created for the computers in home appliances, Java has become an important general-purpose language with a widespread appeal. Java programs have an advantage because they:
- Are object-oriented
- Are platform-independent, meaning they can run on all kinds of computers
- Can run locally and remotely
Let’s talk briefly about each one of these points.
Object-oriented programming
Within an object-oriented program (OOP), we define basic elements called objects by writing Java code. An object stores certain values, or attributes, that give it a particular state. An object also has behaviors, some of which could change its state.
Java objects represent actual things
For example, Java objects often represent actual things, such as people, books, or cell phones. We can see ...