Hi, iam Ethel Amenta, I bid you good day, sir/ma’am.
What Is Bug In Java? [Solved]
But if you accidentally type g.fillRectangle instead, the program will compile and run, but it won’t produce the output you wanted. That’s a bug! It’s an easy fix though - just change fillRectangle back to drawRectangle and you’re good to go.