Xpanxion interview question

First round was technical test , a paper divided into different sections with theoretical questions. Core java :: 1. Trace the output :: public Class Print { public void print (String i) { syso("i is "+ i) } public void print (int i) { syso("i is "+ i) } public static void main(String args[]) { Print p=new Print(); p.print(null) } 2. Write a code for Singleton Class Desgn 3.Apply concept of oops to Following classes : Employee ,Department ,Manager 4. Describe car in real world as object of java using abstract class and interface concept Sql Query 1. Employee (id,name,salary,deptid)and Salary(id,deptname,country) Table joins .get name of departments which contain emplyees count more than two 2. Get average salary of each dept. Analytical : 1. Write a snakes and ladders program 2. Write a code to return true for palindrome else false for given input string in Java (Without using reverse function)