S
sams
I have 2 Java code.
1. Java Code
public interface BookTracker
{
public void updateBook(String title, String ASIN, String ISBN, String
authors, String publisher, String rating, int numreviews) throws
Exception;
}
2. Java Code has a implementation of 1st.
public class DumpBookTracker implements BookTracker
{
....
}
How u compile these two?
I used javac -classpath %CLASSPATHNAME% DumpBookTracker.java
/com/some/wrapper/for/soap
But its giveing me an error "DumpBookTracker should be declared
abstract".
Changing public to abstract let me compile, but end up in runtime
errors.
Appreciate any help with Interface and Implements
Thank you
Sam
1. Java Code
public interface BookTracker
{
public void updateBook(String title, String ASIN, String ISBN, String
authors, String publisher, String rating, int numreviews) throws
Exception;
}
2. Java Code has a implementation of 1st.
public class DumpBookTracker implements BookTracker
{
....
}
How u compile these two?
I used javac -classpath %CLASSPATHNAME% DumpBookTracker.java
/com/some/wrapper/for/soap
But its giveing me an error "DumpBookTracker should be declared
abstract".
Changing public to abstract let me compile, but end up in runtime
errors.
Appreciate any help with Interface and Implements
Thank you
Sam