Intermediate2 h 5Free
Java: methods, objects and a small project
Split your code into methods, store your data in maps, create your own classes and records, handle errors with exceptions, then build a real small program: a task manager.
Start the course
0 / 7 chapters completed
What you'll be able to do
- Write methods with parameters, a return value and overloading
- Use HashMap and TreeMap, and sort a list
- Define a class with private attributes, a constructor and methods
- Use a record to represent a simple piece of data
- Throw and catch exceptions to signal an error
- Build a small complete program organised into classes
Course outline
Part 1 · Methods and collections
Part 2 · Objects and errors