Your First Java Project

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

Get Introduction to Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.