I know that every OS has a specific directory, where a program can store data. For example in macOS there is a directory called /Applications.
Where can I store program data from a java program (multi-user) on Windows, Linux and macOS? Is there a System.property?