Hi:
I'm trying a "BE the compiler" exercise in Head First
Java (p. 63). After trying the problem I looked at the solution in the book and even that still gives me a runtime error. Here is a copy of the book solution:
The error I get is:
Error: Main method not found in class Books, please define the main method as:
public static void main(String[] args) or a JavaFX application class must extend javafx.application.Application
I have a main method in my BooksTestDrive class, so why do I get this error?
Thanks.