classes don't compile
Hi,
In chapter 7 the first example worked well. When I entered the code for the TechnicalBook-class and ChildrenBook-class (p. 151 - 152), the compiler returned an error in the line "public class TechnicalBook extends Book {", with an arrow under the "B" of "Book".
The code I entered is :
"package com.wrox.library;
public class TechnicalBook extends Book {
private String skillLevel;"...
The class "Book" compiled well.
What can be wrong ?
|