classes – Move an object from class A to class B in Java

I am new to Java and I have a question here.I don’t understand one thing. If I have a task with title,color,description and I have 2 columns : Planned and InProgress..I want to represent with Java classes a modality to move my task from Planned to InProgress and back( I just want to print in console” Task moved in InProgress”) and then “Task moved in plannned”..I tried this and I need a feedback.Thank you

 public class Task {
public String title;
public String color;
public String description;
public String workingDev;
public String revDev;

public Task(String title, String color, String description, String workingDev, String revDev) {
    this.title = title;
    this.color = color;
    this.description = description;
    this.workingDev = workingDev;
    this.revDev = revDev;
}
public Task(){};
}




    public class Planned extends Task {
   public InProgress inProgress;

public Planned(String title, String color, String description, String workingDev, String revDev, 
 InProgress inProgress) {
    super(title, color, description, workingDev, revDev);
    this.inProgress = inProgress;

}

public Planned() {
}

public void moveInProgress(InProgress inProgress) {
    inProgress.moveInProg();
}

public void moveInPlan() {
    System.out.println("Task moved in Planned");
}
}



    public class InProgress extends Task {
    public Planned planned;

public InProgress(String title, String color, String description, String workingDev, String revDev, Planned planned) {
    super(title, color, description, workingDev, revDev);
    this.planned = planned;
}

public InProgress() {
}

public void moveInProg() {
    System.out.println("Task moved InProgress");
}

public void moveInPlanned(Planned planned){
    planned.moveInPlan();
}


    public class Hello {
    public static void main(String() args) {
    InProgress prog = new InProgress();
    Planned planned = new Planned("delete", "green", "hard task", "Alex", "Florin", prog);

    planned.moveInProgress(prog);
    InProgress progress = new InProgress("cancel","green","cool","Dorin","Cosmin",plan);
    progress.moveInPlanned(planned);
}