Question: how could I do the goBack() function? I/ It should also push the previous page to the history // returns nothing void goToPage(string inUr1) {

how could I do the goBack() function? how could I do the goBack() function? I/ It should also push

I/ It should also push the previous page to the history // returns nothing void goToPage(string inUr1) \{ currentury.push(currentUrl); \} I/ Implement goBack method to go to the previous page in history /I If there is no previous page to move to, /I print a message and do nothing void goBack() \{ if (history)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!