Public types need to be declared in a source file of the same name. If your class is named "conflicts", the source file should be named "conflicts.java". Note that
you should always start type names with a capital letter.
By the way, you shouldn't use java.util.Date anymore. Instead, use java.time.LocalDateTime or java.time.Instant.