I found the error on this one. You were right, it was the brackets.
Type: Posts; User: Goldfinch
I found the error on this one. You were right, it was the brackets.
I'm trying to avoid that, the idea is to pass values from QUEEN in the rank class and SPADES in the Suit class into the the new Card(int, int) statement instead of something like new Card(3,4)
If...
Hi, I'm getting an error that an object cannot be instantiated in the following code
public class Prog2 {
/**
* @param args the command line arguments
*/
public static...