Answer Posted / ranganathkini
The break statement exits the loop execution and starts
executing the statement just after the loop.
The continue statement stops executing the rest of the
current iteration and starts the next iteration.
| Is This Answer Correct ? | 26 Yes | 4 No |
Post New Answer View All Answers
Can anonymous class have constructor?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Give us the name of the list layoutmanagers in java?
Why do we need hashmap in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What are the properties of thread?
Is java code slower than native code?
What is a class instance variable?
What is string and its types?
Explain about member inner classes?
What is difference between checked and unchecked exception in java?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is meant by null and void?
How can we run a java program without making any object?
What defines function?