What is the purpose of a statement block?



What is the purpose of a statement block?..

Answer / ranganathkini

A block of statements defines a scope within which the
statements execute. This scope controls how the variables
are accessed by the statements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the changes in java.io in java 8 ?

0 Answers  


where the static methods will live ,on stack ? can you explain brefly

1 Answers  


what is the difference between the methods sleep() and wait()? : Java thread

0 Answers  


What do you mean by Remote procedure call?

2 Answers  


What makes a function well defined?

0 Answers  






How do you use nextline in java?

0 Answers  


Give a practical example of singleton class usage?

0 Answers  


What is a method signature java?

0 Answers  


2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

0 Answers   RBS, TCS,


Is sizeof a keyword in java programming?

0 Answers  


What are the limitations for static method?

3 Answers   Greenwood,


What is the difference between a vector & an array list?

0 Answers   Agilent,


Categories