Ad

Thursday, December 7, 2017

Make a cat class - Programming jokes

Here's a joke question to test your Objected Oriented Programming (OOP) skills. How would design a cat class? What are some of the features to consider?

Answer: my cat class should have functions that satisfy a cat's essential needs. Here's my pseudo code.

class cat:
eat()
sleep()
internet()


THE END

No comments:

Post a Comment

Error Message Hardhat debugging error unsupported engine hardhat, current node v18

Error message npm WARN EBADENGINE  Unsupported engine { package: 'hardhat@2.9.3', required: { node: '^12.0.0 || 14.0.0 || 16.0.0...