Is java whitespace/indentation sensitive like python or solely based on curly braces and semi colon endlines? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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