abstract classs food having following properties code example Example: how to create an abstract class in java abstract class scratch{ }