Given the data definition classes below, add line(s) to the…

Given the data definition classes below, add line(s) to the implementation class HouseImplementation to demonstrate polymorphism.   1 public class House {2    public void setAddress(){}3    public double calculateCost(){}4 }   1 public class NewConstruction extends House {2    public double calculateCost(){}3    public void setMaterialList(String[] list){}4 }   1 public class HouseImplementation {2    public static void main (String[] args){3       // Lines will go here 4    }5 }

Given the following Java code snippet, which of the followin…

Given the following Java code snippet, which of the following represents a UML diagram that converts the parallel arrays into a data definition class (DDC) called Country. Consider only the instance variables.  String[] countries = {“USA”, “CHINA”,”JAPAN”};int[] callingCodes = {1,86,81};