public class SeqHeap { Object[] data; int font; int rear; int maxSize; public SeqHeap(int maxSize) { this.maxSize = maxSize; this.data = new Object[this.maxSize]; this.font=0; this.rear=0; } public boolean isEmpty() { return this.font==this.rear; } p…