шпаргалки
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
520 B

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package std;
/**
*
* @author (C)Y.D.Zakovryashin, 05.12.2022
*/
@FunctionalInterface
public interface DemoFunInterface {
public String message(int x);
public static String info() {
return "Demo Functional interface";
}
default public void demo () {
System.out.println("Demo method");
}
}