Question d’entretien chez Revolut

Is Hash Map thread Safe or Can we call Kotlin code In the Java class?