Which of the following is correct?
X: There is no sizeof
operator in Java. So there is no direct way to determine the size of an object.
Y: Checked exceptions are those which the Java compiler forces us to catch. For e.g., IOException
is checked exception.