Question: java programming language Simulate a 2D random walk starting at (0,0). At each step print out the current location then move one step to the

java programming language
Simulate a 2D random walk starting at (0,0). At each step print out the current location then move one step to the right, left, up, or down, chosen at random. The simulation stops when you have returned to the origin (0,0). thus, the simulation could stop quickly or run until terminated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
