Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

JAVA Define a Class Card that will store the face value of the Card and the Suit

ID: 3682994 • Letter: J

Question

JAVA

Define a Class Card that will store the face value of the Card and the Suit Value Include a minimun of 5 fields: Face Value as Integer Face Value as String Suit Value as Integer Suit Value as String Card number of 1 to 52 (or 0 to 51) Include a method to return the value of both for printing. I suggest you use toString(). Create a class for the Deck of Cards containing a set of operations that do the following: Initializes a Linked List that contains all 52 cards in order. Draws one card at a time from the Deck and removes the card from the deck. Checks to see if there are any cards in the deck. Keeps track of how many cards are left in the deck. Shuffles the deck. Print the deck for debugging purposes as you test your game. Create a class for a dealt hand of cards containing a set of operations that do the following: Initializes an empty hand of cards. Prints the hand of cards. Keeps track of how many cards are in the hand. Draws a card from the deck and pl

Explanation / Answer

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. As of 2016, Java is one of the most popular programming languages in use ,particularly for client-server web applications, with a reported 9 million developers.[citation needed] Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.