Last active
July 13, 2019 09:00
-
-
Save davidkathoh/3f65926c0ad1f8898f35ecfe8b2329e1 to your computer and use it in GitHub Desktop.
difference between val and var
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
val dateOfBirth = "17 Mars ,1078" | |
dateOfBirth = "05 Avril, 1089" //erreur | |
var age = 23 | |
age = 28 //pas de probleme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment