I have the next question. I have the program which has the structure:

```
loadContext();
showCategories(input);
showProjects(input);
showdetails();

```

On each step me as a user has the ability to jump to previous step. For example I press 0 and program returns to previos step. Press 1 - program starts from the very beginning. Is there any instruments in Java to come to specific point?

**EDIT:**
I have here the console application. Main method looks like:

```
loadContext();//Loads categories
showCategories(input);//shows available categories and ask for which category to show
showProjects(input);// shows all projects inside selested category and select which project to show in details
showdetails();//show selected project

```

Now I want to set option. For example, in *showProjects(input)* put 0 and see again categories, select it and see category. In *showdetails()* select 0 and get back to show categories, select one and so on.