there is an index Exception(java), and dont know where to fix
im a biginner to practice building up a Heap. But when I run it in a Terminal it will have an Exception. The following code is this:
im a biginner to practice building up a Heap. But when I run it in a Terminal it will have an Exception. The following code is this: