I am missing the last requirement can someone help me?
package com.codegym.task.task13.task1327;
import java.util.ArrayList;
import java.util.List;
/*
Turnip
*/
public class Solution {
public static void main(String[] args) {
List<Person> plot = new ArrayList<>();
plot.add(new Person("Turnip"));
plot.add(new Person("Grandpa"));
plot.add(new Person("Grandma"));
plot.add(new Person("Granddaughter"));
Solution obj = new Solution();
}
interface TurnipItem{
}
public static class Person implements TurnipItem{
public static String name;
public Person(String name) {
this.name = name;
}
public static String pull(Person person){
return String.format(name +"%s behind %s"+ person);
}
public static class TurnipStory {
public static void tell(List<Person> plot) {
Person forward;
for (Solution.Person x : plot) {
forward = x;
System.out.println(x.pull(forward));
}
}
}
}
}