Create a tester class as part of this project


Here is how things will be organized in the class:
• Call the class DistToLine.
• Create static double state variables A, B, and C.
• Create the signature of the static method getDist. It will receive doubles a and b. It will
return a double representing the calculated distance.
• In the body of this method, implement the distance formula above and return that value.Create a Tester class as part of this project that will:
• Set the static state variables A, B, and C with the corresponding values of the desired line.
• Call the method getDist and pass as arguments the coordinates of the desired point.
• Print the returned double as the distance from the point to the line.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Create a tester class as part of this project
Reference No:- TGS0118142

Expected delivery within 24 Hours