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

Codecademy - Machine Learning Fundamentals - Syllabus

Upgrade your skills with Codecademy's Pro Intensive, Machine Learning Fundamentals. Each unit will cover conceptual and syntax lessons ...