2.4 In Java, integers can be assigned to real variables, but not vice versa. What design principle does this violate? In C, this restriction does not exist. What design principle does this violate?
The design principle that Java is violating here is orthogonality, while the design principle C is violating is generality.