Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample Variables
// Constructor Call
Point p1 = new Point(2, 5);
Point p2(2,5);

// Assigning attributesattribute of objectvalues
Point p3 = new Point{x = 2, y = 5};
Point p4{x = 2, y = 5};

...