Learning Outcome
At the end of this lesson, you will be able to:
- create the "Hello, World!" application in Java
Silent Watching
Lesson
- Google "Hello, World! in Java"
- Google is going to be your best new friend this year!
- Get Google and each other to teach you how to do this!
Activity
- go over ICS4U Course Outline (see below)
- after your program is done, we will go over this
- use this template, to submit all your daily assignments
Daily Assignment
- use the Unix server
- if you can not get in, you can use this online for today
- ENSURE you pick Java or Java 8!
- get a console version of "Hello, World!" working in Java
- once you are done ensure you post the solution on your notebook for today
- you should be using Git on the Unix server
- create repo on GitHub website first
- ensure you include a README file
- clone repo onto your computer
- git clone https://github.com/you/Hello-World-Java
- change directory into cloned repo
- add your source code file for your code
- to stage your code:
- to commit your code locally to server:
- git commit -m "commit message here"
- to push up to GitHub's servers
- good Git tutorial here
Extra
- do a console "Hello, World" in PHP
- on Unix the command to run a PHP program is:
- php the_file_name
Homework!
- it is OK, it is for your parents, not you!
- get them to email me (chris.atkinson@ocsb.ca) the following:
- their name
- your name
- what course you are taking
- get them to attach to ICS4U Course Outline, as proof, they read it.
- I will be using it to send out updates about what is going on in class from time to time