What is a block in a program?
Answers
Answered by
4
A block is a section of software code or an algorithm in software programming. A block can consist of one or more statements or declarations. It is possible for a block to contain one or more blocks nested within it. ... Blocks are a basic feature of structured programming and help form control structures.
Answered by
3
What is Block Statement in Java. A blockstatement is a sequence of zero or more statements enclosed in braces. A blockstatement is generally used to group together several statements, so they can be used in a situation that requires you to use a single statement.
Similar questions