I am doing a java coding project for my own interest and I got confused by this so I wanted to ask.
For example, if I have a method that takes no input, but I want to