POPMUISE
interface Jiekou{public void setPriority(int i);public int getPriority();}class Task implements Jiekou{int i;public void setPriority(int i){this.i=i;}public int getPriority(){return i;}}public class TaskTest{public static void main(String args[]){int test;Task task=new Task();task.setPriority(6);test=task.getPriority();System.out.println(test);}}