Every Java program needs an entry point, which is what the main() method provides. In order to work, it needs to be in a class and look exactly like this:

If you've been wondering about what public, static and the args array mean for the past chapters, this chapter is for you.