Is java whitespace/indentation sensitive like python or solely based on curly braces and semi colon endlines? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
+ 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