I am new to both Java programming and StackOverflow so apologies if this may sound trivial.
I have written a method within a class that within the logic, at times acc