Introduction+to+Java

=Welcome to Introduction to Java=

Starter activity:
What is Java? A computer language that will work for the world wide computer system

Objectives:
In this workshop,we will look at some simple java coding

To be able to do that, we have to open a software called NetBeans

First exercise
- Print text

Go to file, new project, click JAVA, and Java application next, name your project with your name

System.out.println(" ");

To run the program, you will need to press run, run file!

- Print an image

^ -

System.out.println( " ^" +"\n" +"\n" +"\n" +"\n

We will have a competition on who makes the best image in 15 minutes go around and look at each others image and vote for the best.

Extension: text type: integer, string, double, char

variables int a = 10, b= 6;

I want you to print something out:

1. using a caculation method, print what 6 + 10 is. 2. print the integer 18 by multiplying 2 integers together 3. divide 123456789 by 30000 and print the answer