Explain restrictions for using anonymous inner classes?
Can we use catch statement for checked exceptions?
Can we have multiple classes in single file ?
What is java object name?
What is Major and importance difference between for and foreach loop ?
Can two objects have same hashcode?
Can you extend main method in java?
What is meant by class loader? How many types are there? When will we use them?
How do you square a number in java?
What is core java used for?
waht happens when a return type ,even void is specified for a constructor?
Is 0 an irrational number?
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)