I want to create a built-in variable Runnable in lambda expressions, but for some reason the code is not compiled. Here is a sample code:
public class Module { public class Comand { Runnable command; String help; public Comand(Runnable command, String help) { this.command = command; this.help = help; } public static void main(String[] args) { Comand hello = new Comand(() -> System.out.println("Hello"), "helloworld"); } } } 
Module, so the compiler swears - Barmaley