Introduction



https://www.java.com/en/

Java is a general purpose, object-oriented programming language.

It was created in 1995 by James Gosling.  It is owned by Oracle and more than 3 billion devices run Java!

Java has a wide range of applications such as:

  • Mobile applications
  • Desktop applications
  • Web applications
  • Games
  • Database connection

Companies that use Java

uselist

Task



Install Java

Install Eclipse

Create new project that prints "Hello world!"

Process

  1. Creating a Java Project and Module
  2. Creating a Package
  3. Creating a Class
  4. Writing our first program – print out “Hello World”
  5. Running the program…
  6. Challenge
  7. Can you expand the code to print out the following to the console?

 

 

Conclusion

Now check you have completed the following Learning Outcomes:

  • You should be able to create a Java program and print out what you want.
  • You should know the basics of Java programming and the idea behind it.

Next steps:

  • You should now move to next Level 3 activity "Drawing Polygons"

Learning Objectives

Learning Objectives

  • Download Eclipse and Java
  • Learn how to make a new java project, package and class
  • Learn how to write a basic program in Java using System.out.println()