Sabber, first, can you please use a meaningful topic title (remember that things urgent to you are not necessarily urgent to others). Second, write a meaningful question. Third, show that you are trying to solve these questions yourself and not just leaving the work for others to do. Read the API/JLS and write code examples. Fourth, state the source of your questions, from what mock exams are they. Fifth, use markers around code examples to preserve formatting. Sixth, search this forum for similar questions in the past.