Question: This is a question for my assignment, please respond with the correct code as soon as you can. To be done on Java. Will upvote
This is a question for my assignment, please respond with the correct code as soon as you can. To be done on Java. Will upvote definitely, thanks!
public class Country implements Measurable { private String name; private double area;
/** Construct a country with name and area. @param name country's name @param area total area of country */ public Country(String name, double area) { this.name = name; this.area = area; }
/** Measurable interface method to retrieve measure. @return the measured area */ //-----------Start below here. To do: approximate lines of code = 2 // //-----------------End here. Please do not remove this comment. Reminder: no changes outside the todo regions. }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
