Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 5
Final and static
what is the difference between final and static keyword?
2 Respostas
+ 9
Once it has been assigned, the value of theĀ finalĀ variable cannot change.Ā staticmeans it belongs to the class not an instance, this means that there is only one copy of that variable/method sharedĀ betweenĀ all instances of a particular Class. ... This is where thestatic keywordĀ comes in
https://stackoverflow.com/questions/13772827/difference-between-static-and-final
+ 2
thanks...