Intro, installation and setup
By the end of this lesson you should:
This course is intended to be an introduction to programming that happens to be in Java.
Many of the concepts you learn here are in the vast majority of programming languages out there; each one being a different tool for different jobs!
By the end of this course I hope you will have an awareness or understanding of:
...and the ability to:
You can find runnable Java files for all code examples in the course source code.
As you're going through the slides, I strongly recommend you run the examples and edit them.
Try anything out and don't be afraid of breaking things, it's just text files and we have undo!
Computers understand a fundamental set of instructions.
These instructions are however very primitive and way too low-level for everyone to write programs in.
Programming languages sit on top of these primitive instructions and give us a more human-friendly set of tools.
The world now has more programming languages than it knows what to do with - built not only on top of machine code but also on each other.
Each has it's own specialty or opinions that makes it the best for certain jobs, for example:
These languages end up running on computers in one of two ways:
Java actually does both!
Java source is compiled to Java Virtual Machine (JVM) bytecode, which the JVM installed on supported machines can then interpret!Java is one of the most popular programming languages used today! It is:
Java is designed to be runnable everywhere by use of the Java Virtual Machine (JVM).
The JVM is written to run on most machines, and Java is compiled (converted) to a language that runs on the JVM.
Write Once, Run Anywhere is one of the biggest advantages of Java.
Because Java is used everywhere, it's used for many things.
It is used across Expedia Group for most of the functionality of our websites.
It has also been used to write:
As with learning most things, we all make the same mistakes and assumptions, here's a list of what I've noticed while teaching this course.
In this lesson we are going to get your machine ready for writing, compiling, and running Java programs.
Click here to go to the guide.