SAP Interview Question

Create a basic Task manager (add tasks, get which tasks to execute, and print the one you execute) using Java (without collections or built-in java staff)