error on deriving abstract class java code example Example: how to create an abstract class in java abstract class scratch{ }