This commit is contained in:
2024-03-18 14:28:35 +01:00
parent a28bef01d7
commit cd3133cbe1
8 changed files with 90 additions and 37 deletions

View File

@@ -0,0 +1,6 @@
public class NumberFormatException {
public static void main(String[] args) {
String str = "abc";
int num = Integer.parseInt(str); // Conversion d'une chaîne non numérique en entier
}
}