For which statements we use a label?

Answer Posted / ravikiran(aptech mumbai)

for the looping or iterative statements we have to make use
of labels inorder to distinguish between outer and inner loops

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a local class in java?

569


give an example for encapsulation?

569


Which api is provided by java for operations on set of objects?

898


Why scanner is used in java?

538


Explain spliterator in java8?

591






What is replacefirst in java?

559


What are peerless components?

611


What is callablestatement? How you can call stored procedure to pass in parameter?

536


What’s the difference between constructors and other methods?

521


How do you check whether the list is empty or not in java?

502


Explain the protected field modifier?

584


Is null in java?

542


why would you use a synchronized block vs. Synchronized method? : Java thread

524


what is the volatile modifier for? : Java thread

514


What does provide mean construction?

544