What is an example of checks and balances?

(1) the legislative branch passing a law that applies to everyone

(2) the president appointing cabinet members

(3) the Senate approving a justice appointed by the president

(4) the Congress declaring war on another country