Reputation: 337
I created a method:
public void baseOblo ()
The method and I started doing the tests, calculations ...
As a result do to stop the method is invalid, or not to continue the remaining codes and the method call another method public void baseCirc ()
?
Thank you
Upvotes: 1
Views: 2112
Reputation: 10908
Do you mean that you reach a point in baseOblo
where you no longer want to continue processing, and instead want to call a new method? If so:
public void baseOblo (){
// do stuff
if(someCondition == true){
baseCirc();
return;
}
// do other stuff
}
Upvotes: 3