java abstract class type of code example Example: how to create an abstract class in java abstract class scratch{ }