Create the signature of the static method


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!!
Basic Computer Science: Create the signature of the static method
Reference No:- TGS088230

Expected delivery within 24 Hours