View Single Post
  #2 (permalink)  
Old November 18th, 2003, 09:37 PM
ipatchu ipatchu is offline
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ipatchu
Default


Hi, Mara.

I did try it before and seems that it works for me... Let me check it out this afternoon and I will get back to you...
Fyi: You may want to try to compile all those java class concurrently - using syntax javac *.java
Thanks!


Quote:
quote:Originally posted by mara
 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);
    }
}