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.

5 comments:

Karthik said...

Dude! I wish you post better things than this in your blog...

Vinay V said...

Yeah, I know.. It's been a long time since I planned to post anything here.. Maybe I should restart proper, active blogging.

Shantanu said...

Hey on the optimistic side of it...the questions can be useful for the job hunters

javapeople said...

hi,
nice blogs have u look


http://www.javapeople.blogspot.com

http://master-in-java.blogspot.com/


and if u love to cook food have a look ...

http://indian-food.blogspot.com/

timepass..stuff for ur mails
http://fulltotimepass.blogspot.com/

Unknown said...

hehee.. had not seen this ;) nice tp :P