Code block
Appearance
![]() |
![]() | This article uses first-person (I, we) or second-person (you) inappropriately. |
A code block is simply put, a module of programming code. Many languages, C/C++, Java, PERL, and even scripting languages support code blocks. It helps to make the code more readable, and you can easily separate your code into logical sections that organize your work. How a language handles a code block is entirely up to that language. Java utlizes braces to denote the beginning and end of a code block.
References