Points on the 2D plane

Report a typo

You are writing a 2D engine for a computer game. For that, you need a class representing a point in a 2D plane.

Define a class named Point2D. It must have two float fields: x and y.

Write a program in Java 17
// write a class here
___

Create a free account to access the full topic