Write a class that contains the following two methods:/** Convert from feet to meters */public static double?footToMeter(double?foot)/**

Question:

Write a class that contains the following two methods:/** Convert from feet to meters */public static double?footToMeter(double?foot)/** Convert from meters to feet */public static double?meterToFoot(double?meter)

The formula for the conversion is:meter = 0.305 * footfoot = 3.279 * meterWrite a test program that invokes these methods to display the following tables:image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: