Intro to Java
Java is a programing language developed and maintained by Oracle Corporation. It is one of the most popular, preferred, and versatile programming platforms in use today.
History of Java
Java was originally created by Sun Microsystems in 1995 as a multipurpose programming language designed to be extremely portable, meaning it ran on any type of processor.
When Sun was acquired by Oracle Corp. in 2010, Java became the intellectual property of Oracle. Since then, Java has been popularized worldwide.
The current version of Java (Java SE 9) was released to the general public on September 21, 2017.
APPLICATIONS OF JAVA
Java has numerous applications, from Android app development to programming dishwashers and computers. In fact, it is so useful that it has even spawned a similarly named (and similar looking) coding script used to develop websites. As a result, its adaptability has caused it to become one of the most widely used programming languages today.
HOW JAVA WORKS
Java’s portability is enabled by its unique structure. In contrast to traditional compiled or interpreted languages, Java uses a mix of the two. When Java code is compiled, it becomes bytecode, an intermediary stage of code that is not quite machine code, but not quite source code. Then, when the program is actually executed, the Java interpreter transforms this bytecode into the finished product, as machine code. This approach allows the interpreter to translate the bytecode into machine code for any processor, because it is interpreted on the client side. This allows the code to be run on any machine, making it extremely portable. However, this method does have downsides. Because it needs to be interpreted on the client’s computer, anyone who wishes to run a Java program needs to have the JRE installed, which is used to interpret bytecode.
BENEFITS OF LEARNING JAVA
Learning how to program with Java is beneficial in a number of ways, especially in today’s technology-oriented society.
Learning to code with Java can enable you to:
- Create Java related projects
- Develop your own Android apps
- Maintain a Java blog online
- Build and program your own robots
- Find a high-paying career in the technology/engineering space (jobs include: computer scientist, computer engineer, software engineer)
- For high school students, Java is the language used in AP Computer Science courses
- Pass time and have fun!
There will be an extensive NYTJ free Java tutorial series (for beginners) coming out soon!