I assume you mean Addressbook
and that the file you created contains Java source code, not a compiled class
- Name the file you created as
Addressbook.java
, must be the same name including capital letters as the class name. - The sketch name must NOT be the same as the class
- The
Addressbook.java
file must be in the same folder as the sketch pde file.
- Do not add the import statement because it is not needed
- Theis error was created because of the import statement.