write a class encapsulating a board game, which inherits fromgame. A board game has the following additional attributes:theminimum number of players, and whether there is a time limit tofinish the game. Code the constructor and toString() method of thenew class. You also need to include a client class to test yourcode.
computer programming 2
java coding
Answer