core java Q&A for Interview