A list of tasks in Java to learn the core concepts
Designed For Eclipse Java IDE
- Print "Hello World" to the console
- Add two numbers
- Subtract two numbers
- Add two variables together
- Take away two variables
- Multiply two variables
- Divide two variables
- Modulus two variables
- Concatenate two strings with a space in between
- Create a method with if else
- Use JUnit4 Testing to test the method
- Create a none-default constructor
- Concatenate a String and Integer
- 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
- Create a ArrayList of Integers and return 9
- Create a HashMap of Name String and Identifier Integer and return the name "Bob"
- 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
- Set up an Interface
- Create an interface method
- Create Objects
- Create getters
- Create an ENUM
- Write code to classify an animal
- Write code to describe an animal