From the course: Oracle Java Foundations

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Java language

Java language

(uplifting music) (graphic swooshes) - [Instructor] The Java language. A computer program is a set of instructions that run on a computer or other digital device. At the actual chip level, the machine level, the program consists of binary instructions, ones and zeros. This is what we call machine code and it's this sequence of ones and zeros, it causes the hardware to actually execute the code. However, it's both tedious and difficult to write programs in ones and zeros and while it's was done in the early days, now we tend to write code in high-level languages like Java, which is human readable, and then it's translated into machine code, then the machine code is executed. Here's an example of a C program, a classic C program that's going to print Hello, World! To the console. If I want to compile this C program and run this, if I want to run this on a Linux machine, I would need a C compiler written for Linux. If I want to run it on a Macintosh, I need a C compiler written for a…

Contents