Created
March 29, 2019 14:30
-
-
Save ShanikaNishadhi/d8c3264e519ec7c31768e27dd0c7244c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Locale; | |
class Main { | |
public static void main(String[] args) { | |
Locale locale = Locale.GERMAN; | |
System.out.println("Locale:" + locale); | |
System.out.println("ISO 2: " + locale.getLanguage()); | |
System.out.println("ISO 3: " + locale.getISO3Language()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment