Java fundamentals

A Makers Academy course covering java fundamentals - details are here

Compile and run from terminal

Compile then run

  • Type javac <filename>.java to compile
  • Type java <filename> to run compiled code

Compile and run in one step

  • Type java <filename>.java in one line

Three basic java programs compiled that can run:

  • Calculator
  • Clock
  • Hello

Three simple classes exploring different data types

Simple calculator class that was set up to run in VScode

Three projects TDD developed using junit in VS code:

  • calculator
  • get_price_label
  • todo

Three projects developed following steps 5 to 11 in the course:

game

  • A word guessing game developed in VS code

shopping_list

  • A small shopping list app developed when taking a break from the word guessing game

intellij_game

  • The word guessing game above but refactored and tested in IntelliJ