help please - what am I overlooking? I'm implementing the Moveable interface in the clothes class and implementing the isMovable() method...
package com.codegym.task.task15.task1501;
/*
OOP: Arrange interfaces
*/
public class Solution {
public static void main(String[] args) {
}
public interface Moveable {
boolean isMovable();
}
public interface Sellable {
Object getAllowedAction(String name);
}
public interface Discountable {
Object getAllowedAction();
}
public static class Clothes implements Moveable, Sellable, Discountable {
public boolean isMovable() {
return true;
}
public Object getAllowedAction (String name) {
return name;
}
public Object getAllowedAction() {
return this;
}
}
}