java
2D array / recursion
explain every method
You are requested to write a Java program of a simpleMemory Management Unit.
The program should allow the following:
1. The user can create a process asking for memory. The programwill return a process ID if the requested memory can be allocated.It will also print the allocated Base and Limit.
2. The user can delete a process by specifying a process ID. Theprogram should do that and free any allocated memory for thedeleted process.
3. The user can, using a process ID, ask to convert between virtualaddresses and physical addresses.
4. The user can ask the program
OR
OR