Skip to content

void

You can use void as return type of function to specify that function not return any value.

public main() -> void {
    ...
}
-> void is unnececary if return type is void.

Comments