aboutsummaryrefslogtreecommitdiff
path: root/docker/shared/src/main/java/HelloWorld.java
blob: f4c30218b8cf211fb412eeaceb22e0ac10692f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@lombok.Data
public class HelloWorld {
    private final int answer;
    
    public static void main(String... args) {
        System.out.println(new HelloWorld(42).getAnswer());
    }
    
    @FunctionalInterface
    interface Foo {
        String name();
    }
}