Prepare a java program draws a chess board.
Write a Java program "chess.java" that draws a chess board with 8 x 8 squares, half of the squares are filled black and are interleaved with the white squares.
Add comments in code section. Code this program in java programming.