Jump to content

Code block

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Uncle G (talk | contribs) at 16:44, 18 September 2006 ({{unreferenced}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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