In the previous chapters, you learned quite a few things about Java, including its basic aspects, and main tools. Now, we are going to apply the knowledge acquired to complete and take the first step toward a real-life program—creating a Java project. We will show you how to write application code, how to test it, and how to execute the main code and its tests.
In this chapter, we will cover the following topics:
- What is a project?
- Creating a project
- Writing and building application code
- Executing and unit testing an application
- Exercise: JUnit @Before and @After annotations