Accenture Interview Question

Java based basic questions, Related to the work I have done in domain