What does return do when used inside an if statement?

后端 未结 8 1569
醉梦人生
醉梦人生 2020-12-31 02:16

What does the return inside the if statements do in the following code?

public void startElement(String namespaceURI, String localName,String qName, 
               


        
相关标签:
8条回答
  • 2020-12-31 02:50

    Yes. The return here will take the control out of method.

    0 讨论(0)
  • 2020-12-31 02:51

    The returns in the above code will take you out of the method.

    0 讨论(0)
提交回复
热议问题