<human>:  When is the keyword ‘void’ used in Java?
<bot>: The keyword void is used to indicate that a method does not return a value. It is used when a method does not have a return type. For example, the method print() does not have a return type, so it is declared as void.