...

/

Challenge: Implement opEquals Function for a Class

Challenge: Implement opEquals Function for a Class

Let’s try a coding challenge using the opEquals function.

We'll cover the following...

Problem statement

Start with the following class, which represents colored points:

enum Color { blue, green, red }
class Point {
    int x;
    int y;
    Color
...