i have a small java program. Because my teacher is not good and I discussed the concept. totallylost?
Dogcarts called a class that stores objects. Card of 52 classes include how to shuffle the deck. Card management and reporting of the remaining cards in the deck method shuffle should be considered a full deck. Each main class driver and how to hack the card deals from the deck, each card printed manage it. . I have no clue from that people start Please help .. I have no clue that
So you'll need to create three classes called. Dogcarts (Dogcarts? Really?) Called a primary card and called. The main floor is the entry point to your program. Dogcarts a window and run approach. . Dogcarts will keep your card and should fill himself with an object on the card may be created and the user. To start Dogcarts should have a few public methods. : Shuffle public void () (... card management). () (...) Int public cardsRemaining () (...) and may be void public reset () (/ * re - fill with a new Card object * /) for the floor Dogcarts can keep the card. java.util.ArrayDeque. Objects. Sometimes called the "floor" How you can take advantage of. Java Collections API to handle a lot of work for shuffle deck line of a constant Collections.shuffle (deck); To manage the card. deck.pop call (); Counting the remaining card call. deck.size (); Therefore the main primary school, you might look like. : Void public static main (String [] args) (Dogcarts d = Dogcarts new (); D.shuffle (); While (d.cardsRemaining ()> 0) (card Card = d.deal () / / "Pops" Max. Card from the deck. System.out.println ("card management. : "Card.toString + ());)) HTH.