Wednesday, August 4, 2010

Some programming Jokes!!

1. Two ints and a float are in a bar. They spot an attractive double on her own.
 
The first int walks up to her. “Hey, baby”, he says, “my VM or yours”. She slaps him and he walks back dejected.

The second int walks over. “Hey, cute-stuff, can I lick your Bean?”. After a quick slapping, he too walks back.

The float then ambles over casually. “Were those two primitive types bothering you?”, he remarks.

“Yes. I’m so glad you’re here”, she says. “They just had no Class!” 
-------------------------------------------------------------------------------------------
2. Java Interview attended by our Banta:

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.

----------------------------------------------------------------------------------------
3. Once a programmer drowned in the sea. Many Marines where at that time on the beach, but the programmer was shouting "F1 F1" and nobody understood it.

----------------------------------------------------------------------------------------
4. A guy is standing on the corner of the street smoking one cigarette after another. A lady walking by notices him and says
"Hey, don't you know that those things can kill you? I mean, didn't you see the giant warning on the box?!"
"That's OK" says the guy, puffing casually "I'm a computer programmer"
"So? What's that got to do with anything?"
"We don't care about warnings. We only care about errors."

------------------------------------------------------------------------------------------
5. The Classic one
Q: Why do programmers always mix up Halloween and Christmas?
A: Because Oct 31 == Dec 25!

No comments: