From 2231cf9b3f2d0d388bf1c6bae47ee13c0de8b770 Mon Sep 17 00:00:00 2001 From: fabianArbeit Date: Thu, 31 Jul 2025 10:09:18 +0200 Subject: [PATCH] - fixed compile error (public interfaces need their own file, apparently) --- Java11.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Java11.java b/Java11.java index 11012cd..77bdf01 100644 --- a/Java11.java +++ b/Java11.java @@ -12,6 +12,8 @@ import java.util.function.Predicate; import java.util.stream.Collectors; class Java11 { + + public static void main(String[] args) { //////// // 1. // @@ -159,4 +161,4 @@ interface InterfaceWithPrivateMethods { @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) -public @interface Nonnull {} +@interface Nonnull {}