How to declare the pages variable?

If a class you are writing, say class Novel, inherits from the following class, what is required of the Novel class?

public abstract class Library
{
abstract int getPages();
}
3 answers 3