What Are Constraints And Its Types In Java