Wednesday, May 7, 2008

Our Banta Singh

Java Interview attended by our Banta Singh

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. Sorry, Non living things can't communicate.

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 dif ference between Process and Threads?
A. Threads are small ropes. Make a rope from threads is an example for process.

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

Q. What is JINI?
A. A ghost which was Aladdin's friend.

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

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.

--------------------------------------------------------------------------------
In UK, Santa & Banta saw a poster
at a Police station: Two White
men wanted for Rape.

Santa: These bloody goraas always get the best jobs!!

Santa and Banta were watching bungee jumping.

Santa: Wanna try it?

Banta: No way. I was born because of broken rubber & I don't wanna die because of it.

No comments:

How to Get files from the directory - One more method

 import os import openpyxl # Specify the target folder folder_path = "C:/Your/Target/Folder"  # Replace with the actual path # Cre...