The code to create the Sample objects trying to use a constructor that accepts a single string, however the Sample class defines its constructor to accept a String and an int, perhaps you were trying...