Saturday, January 10, 2009

Java Mystery for Sardar Ji


Question asked by the interviewer and Sardar's replySo, here it goes ....


Q. How do you communicate in between Applets & Servlets ?

A. If they are reachable by walk ,I will go in person,else I will usephone.


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 forprocess


Q. What is the order of method invocation in an Applet ?

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


Q. What is Difference between AWT and Swing ?

A. AWT is an acronym .Swing is a word.


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 depot.


Q. How to communicate 2 threads each other ?

A. Non living things ca! n't communicate.


Q. Can I modify an object in CORBA ?

A. As you wish ,I do not have any objections.


Q. What are virtual functions ?

A. Functions about which we are dreaming.


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 difference in between Unicast and Multicastobject ?

A. If in a society ,if there is only one caste ,then it isUnicast,Else it is multicast.


Q. I want to store more than 10 objects in a remote server ?Whichmethodology will follow ?

A. Send it through courier.


Q. What is meant by flickering ?

A. Closing and opening of eyes at girls.


Q. What is meant by distributed Application

A. Distributing application forms


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

No comments:

Counter

free counters

Followers