Showing posts with label objects. Show all posts
Showing posts with label objects. Show all posts

Tuesday, 12 July 2016

What's Your Area of Expertise

Difficulty:
Easy

Tags:
objects, geometry

Instructions:
Defining collaborating objects can be useful to solve problems. For example a rectangle object might use point objects to represent its corners. Your task is to define a method to calculate the area of a Rectangle from its two corners

Problem and Solution: