Introduction to Java

Work through these slides. As you read, think about and answer the questions at the bottom of each page. These will be your first experience with Java, so make sure you follow each step closely.

1. Introduction to Java

These notes are written for Java 2 Standard Edition version 5.0 or higher. Many features were added to this edition and previous versions will not work as well with these notes. If you are installing Java for the first time on your computer, install the Java Development Kit (JDK) from Oracle.

Chapter Topics:

  • Hello World program
  • Java Bytecodes
  • Java compiler and Java virtual machine
  • Using Notepad to create a source program
  • Running a Java program

 

Question 1:

Can the processor of a computer system directly execute source programs written in Java?


Source: Bradley Kjell, https://chortle.ccsu.edu/java5/Notes/chap05/ch05_1.html
Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 License.