Computer Science, asked by nain31, 1 year ago

What is a block in a program?

Answers

Answered by nu1imran
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 Anonymous
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