Question: the dog will have his day hamlet?
Answer: The cat will mew and dog will have his day. In other words, Hamlet sees himself as a righteous hero (Hercules), who, while he may be considered a lowly no-count creature by others (a dog), will surely (the cat will mew — what else would it do?) have his revenge (his day.)