Tuesday, May 30, 2006

Java interview

Although I do not have much experience in Java, hopefully, I'll do better than this guy in a Java interview..


Q. What is the difference between an Abstract class and Interface?
A. Terms are different ... nothing more

Q. What is JFC ?
A. Jilebi, Fanta & Coffee

Q. Explain 2 tier and 3 -tier Architecture ?
A. Two wheelers like scooters will have 2 tyres and autorickshaws will have 3 tyres.

Q. I want to store more than 10 objects in a remote server ? Which methodology will follow ?
A. Send it through courier.

Q. Can I modify an object in CORBA ?
A. As you wish , I do not have any objections.

Q. How to communicate 2 threads each other ?
A. Non living things can't communicate.

Q. What is meant by flickering ?
A. Closing and opening of eyes at girls.

Q. Explain RMI Architecture?
A. I am a computer professional not an architect student.

Q. What is the use of Servlets ?
A. In hotels, they can replace servers.

Q. What is the difference between Process and Threads ?
A. Threads are small ropes. Make a rope from threads is an example for process.

Q. When is update method called ?
A. Who is update method?

Q. What is JAR file ?
A. File that can be kept inside a jar.

Q. What is JNI ?
A. You mean JINI? It's a ghost which was Aladdin's friend.

Q. How will you call an Applet from a Java Script?
A. I will give invitation.

Q. How you can know about drivers and database information ?
A. I will go and enquire in the bus dep ot.

Q. What is serialization ?
A. Arranging one after the other from left to right.

Q. What is bean ? Where it can be used ?
A. A kind of vegetable. In kitchens for cooking they can be used.

Q. Write down how will you create a binary Tree ?
A. When we sow a binary seed , a binary tree will grow.

Q. What is the exact diffe rence between Unicast and Multicast object ?
A. If in a society, if there is only one caste, then it is Unicast, else it is multicast.