Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP Interview Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01090521
Message ID:
01090664
Vues:
8
>>I'm a big believer that if your a good coder in a different language you'll be a good coder in any language - because it's about the logic and the rest is just syntax. So I was looking for an OOP question that didn't rely on FoxPro knowledge and came up with. Can you describe a deck of cards as objects? Telling me what classes you would create and what properties and methods you would put in each class. To this date only 1 person has ever given me a good response on this question. Is it too tuff of a question or is it a bad question?
>
>A deck of cards is a container. Each card is a "child" of that container. Each card has a property for suite value (clubs - diamonds - etc) and a property face value (1.2...10.J.Q.K.A).

So it is true that everything is bigger in Texas. It appears that a deck of cards has more cards there. I am used to plaing with cards that have a face value 2,3,...,10,J,Q,K,A <bg>
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform