Is java whitespace/indentation sensitive like python or solely based on curly braces and semi colon endlines? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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