Skip to content

AranJannson/Java-For-Beginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java-For-Beginners

A list of tasks in Java to learn the core concepts

Designed For Eclipse Java IDE

As Of Task 7, I have started to use IntelliJ IDEA to continue this project

Task 1 - Hello World

  • Print "Hello World" to the console

Task 2 - Simple Mathematical operations

  • Add two numbers
  • Subtract two numbers
  • Add two variables together
  • Take away two variables
  • Multiply two variables
  • Divide two variables
  • Modulus two variables

Task 3 - Methods, If Else Statements And Unit Testing

  • Concatenate two strings with a space in between
  • Create a method with if else
  • Use JUnit4 Testing to test the method

Task 4 - Default and None-Default Constructors In Objects

  • Create a none-default constructor
  • Concatenate a String and Integer

Task 5 - Loops and Arrays

  • Create a for loop
  • Create a while loop
  • Create a Array of Integers size 5
  • Loop through the Array and return the values as a single string

Task 6 - ArrayLists and HashMaps

  • Create a ArrayList of Integers and return 9
  • Create a HashMap of Name String and Identifier Integer and return the name "Bob"

Task 7 - Objects

  • Create a Object of a Car with a brand, modelYear and mileage
  • Add multiple objects to a ArrayList
  • Create Getters to access values in the objects

Task 8 - Interfaces and Polymorphism

  • Set up an Interface
  • Create an interface method
  • Create Objects
  • Create getters

Task 9 - ENUM's

  • Create an ENUM
  • Write code to classify an animal
  • Write code to describe an animal

About

A list of tasks in Java to learn the core concepts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages