View Single Post
  #1 (permalink)  
Old November 14th, 2003, 06:42 AM
mara mara is offline
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Doing ch7 would u help me out?

in correct path Book.java exists
but when i compile
i get this error.
i don;t know what is wrong
to me code seems to be correct.
plz help me out

com\wrox\library\ChildrenBook.java:3: cannot resolve symbol
symbol : class Book
location: class com.wrox.library.ChildrenBook
public class ChildrenBook extends Book {
                                  ^
1 error

### fro this line: original TechBook.java code####
package com.wrox.library;

public class TechBook extends Book {

    private String skillLevel;

    private String getSkillLevel() {
        return skillLevel;
    }
    public void setSkillLevel(String s) {
        skillLevel = s;
    }
    public TechBook(){
        super();
    }
    public TechBook(String title) {
        super(title);
    }
}