|Programming Paradigms||Object-Oriented Programming Language (Class Based)||Object-Based Programming Language (Prototype Based)|
|Type Systems||Strongly Typed||Dynamically Typed|
|Implementations||Compiled (static)||Interpreted (dynamic)|
|Environments||Any Virtual Machine||Client-Side Browser, Backend Server, Desktop Applications|
|Concurrency||Threaded Based Approach||Event Loop Based Approach|
A Very Brief History of Java Java was developed by Sun Microsystems, and most notably by a programmer named James Gosling in 1995. The project was initiated in 1991 and took approximately four years to finish. The name 'Java' came about as a reference to the espresso bean, Java, and was conceived while James was drinking a cup of coffee. The purpose of the language was originally designed to be used for interactive TV but the technology was too advanced at the time for the digital cable industry. Today, Java has a very wide array of applications, such as mobile development, web development, embedded systems, and desktop applications. Java has a saying, "Write once, run everywhere" which has held true over the years since its inception.
int myNumber = 9;While a string would be written like this:
String myName = "Grant";
var myNumber = 9;
var myName = "Grant";If you want to learn more about the difference between compiled and interpreted languages, this is a great resource. Side Note: It is also important to note that the terms 'strongly' and 'weakly' typed languages are somewhat controversial in their exact meaning. However, it is generally accepted that it is more of a spectrum than two opposing sides. A language may be looser (weakly typed) about declaring data types or stricter (strongly typed).
Java: Environments As previously mentioned, Java had a philosophy of being flexible and universally used. For that reason, one of Java's strengths is that it can be run in many different environments. In web development, Java is conventionally used as the backend for many web apps. Java is also capable of being used on the frontend with technologies such as JSP, however, is not very common. Java is also a very popular option for building desktop and mobile applications. As well as embedded systems. Which range from such devices such as GPS trackers, digital watches and blu ray disc players. Obviously, Java is an extremely versatile programming language.