it says identifier expected
package com.codegym.task.task15.task1501;
/*
OOP: Arrange interfaces
*/
public class Solution {
public static void main(String[] args) {
}
public interface Movable {
boolean isMovable();
}
public interface Sellable {
Object getAllowedAction(String name);
}
public interface Discountable {
Object getAllowedAction();
}
public static class Clothes implements Movable,Sellable,Discountable{
String s1 = "hello";
public boolean isMovable()
{
return true;
}
public String getAllowedAction(s1)
{
String s = s1;
return (String)s;
}
public Object getAllowedAction()
{
return new Object();
}
}
}