According to Hamilton, what should the court do when two laws (statutes) contradict each other?

According to Hamilton, when two laws (statutes) contradict each other, the court should determine the validity of each law and decide which law takes precedence based on the constitutionality of each law. The court should then follow and apply the law that is in accordance with the Constitution.