Logical Questions For Interview In Java