Java
You will implement a procedural program (i.e. not object-oriented) using static methods of Java. This program will randomlyplay a game of Tic-Tac-Toe without winning or losing. The programwill print the game board after each play. The game will alwayshave 9 plays, where player X will first randomly place X in a cellwhich is followed by player O and then they take turns until theboard is filled.
We represent the 3 by 3 game board using an array of 9 integers.The array initially is filled with 0. (You don’t have to explicitlyinitialize the array content since by default int array contains0.) We
PayPal Gateway not configured
PayPal Gateway not configured