While coding the solution do we have to make it UI based or Console I/O based. Can we not simply instantiate objects in the main method and make relevant calls to showcase our implementation?