>>It's a good question, assuming you properly spell out what you're looking for. In other posts, you mentioned Shuffle() and Deal() as methods, which I would never think of as methods attributed to a deck of cards. Cards don't shuffle or deal themselves. Those methods belong to the dealer object. ;-)
>>
>>This kind of questioning is along the right line, but be prepared for answers all over the map. When you start modeling objects, there is never a single right answer -- only variants of less wrong.
>
>I understand that and I don't have a perfect answer to the question. I just want some question in the first interview to see if they know OOP beside saying - do you know OOP? You would be surprised how many times people just say 'no'.
No, I wouldn't be surprised at all. And just as many people just say 'yes'.
What you're discussing, btw, is not OOP. It's OOAD. It's a quibble, but if you're REALLY trying to assess modeling/design skills you ought to call it that.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only