Is java whitespace/indentation sensitive like python or solely based on curly braces and semi colon endlines? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Is java whitespace/indentation sensitive like python or solely based on curly braces and semi colon endlines?

26th Apr 2020, 7:32 PM
SwapD
2 Réponses
+ 1
thanks
27th Apr 2020, 2:19 PM
SwapD
0
Java relays on curly braces and semi colons as C/C++ does. In Python they are not used, instead indentation is mandatory.
26th Apr 2020, 8:50 PM
Uros Zivkovic
Uros Zivkovic - avatar