constructor ... is not visible
Hi, this is my first post on these forums, so thanks in advance for any help in this topic and in the future. Hopefully I can contribute to other topics as well. And hopefully this is the appropriate section of the forum to post this question in. Anyways...
I created a .jar containing Card and Deck classes. They are public classes, not abstract, and i did not make the constructors private. I am now creating a
Table class (amongst others) that must create a deck in its constructor, but I get "The constructor Deck(int) is not visible."
I am actually able to manipulate Deck and Card objects, just not instantiate them. Any answers? Should I provide certain parts of my code? (I didn't wanna cut and paste unnecessary stuff.)
EDIT: If it helps, I'm using Eclipse to do this. It's also my first time using Eclipse.