Create a Card class and a Deck class and a driver.
A Card is immutable, meaning that after you instantiate it, itcannot be changed. The suit property can be “clubs”, “spades”,”diamonds” or “hearts”. The faceValue property can be “Ace”, “2”,”3″, “4”, “5”, “6”, “7”, “8”, “9”, “10”, “Jack”, “Queen”, or”King”. Use a static array of strings so you can loop throughpossible values using indexes, and provide public static gettermethods for an array of suits (getSuits()) and an array of values(getValues()) to return the arrays. A good toString() method shouldalso be included.
An instantiated Deck contains an ArrayList of 52 Card objects,from “Ace
PayPal Gateway not configured
PayPal Gateway not configured