I have tried to format it in so many different ways but it is still not working.
package com.codegym.task.task31.task3110.command;
import com.codegym.task.task31.task3110.ConsoleHelper;
import com.codegym.task.task31.task3110.ZipFileManager;
import java.nio.file.Path;
import java.nio.file.Paths;
public abstract class ZipCommand implements Command {
@Override
public void execute() throws Exception {
}
public ZipFileManager getZipFileManager() throws Exception {
ConsoleHelper.writeMessage("enter the full path to the archive");
Path path = Paths.get(ConsoleHelper.readString());
return new ZipFileManager(path);
}
}