Part 1: Install Java Development Environment - Download and Install Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/ - Download and install Editor/IDE: Notepad++: https://notepad-plus-plus.org/ - Compile and run the “HelloWorld” program. The following is the Java source code: public class HelloWorld { public static void main (String[] args) { System.out.println("Hello World"); } }
Part 2: Pratice Java excercises: Visit the website: https://introcs.cs.princeton.edu/java/11hello/ to do
your labwork1. Task 1: Read and do the subsection “1.1. Your First Java Program: Hello World” in the website above. Task 2: Do all the Exercises and Web Exercises of the “subsection 1.1.” above. Task 3: Read and do the subsection “1.2. Built-in Types of Data” in the website above. Task 4: Do all the Exercises of the “subsection 1.2.” above. Task 5: Read and do the subsection “1.3. Conditions and Loops” in the website above. Task 6: Do all the Exercises of the “subsection 1.3.”
Note: you need to submit the source codes of your lab works to the google drive folder of the course.
Programming Fundamentals Hyesung Park, Na'el Abu-Halaweh, Sonal S. Dekhane, Wei Jin, Robert Lutz, Richard W. Price, Tacksoo Im Table of Contents 1. Getting