Java Interview attended by our Banta Singh
Here is a interview given by our Banta for the job in java office…
Interviewer: What is the difference between an Abstract class and Interface?
Banta: Terms are different … nothing more
Interviewer: What is JFC ?
Banta: Jilebi, Fanta & Coffee
Interviewer: Explain 2 tier and 3 -tier Architecture ?
Banta: Two wheelers like scooters will have 2 tyres and autorickshaws will
have 3 tyres.
Interviewer: I want to store more than 10 objects in a remote server? Which
methodology will follow?
Banta: Send it through courier.
Interviewer: Can I modify an object in CORBA?
Banta: As you wish , I do not have any objections.
Interviewer: How to communicate 2 threads each other ?
Banta: Sorry, Non living things can’t communicate.
Interviewer: Explain RMI Architecture?
Banta: I am a computer professional not an architect student.
Interviewer: What is the use of Servlets ?
Banta: In hotels, they can replace servers.
Interviewer: What is the difference between Process and Threads?
Banta: Threads are small ropes. Make a rope from threads is an example for
process.
Interviewer: What is JAR file ?
Banta: File that can be kept inside a jar.
Interviewer: What is JINI?
Banta: A ghost which was Aladdin’s friend.
Interviewer: How will you call an Applet from a _Java Script?
Banta: I will give invitation.
Interviewer: What is bean ? Where it can be used ?
Banta: A kind of vegetable. In kitchens for cooking they can be used.
Interviewer: Write down how will you create a binary Tree ?
Banta: When we sow a binary seed, a binary tree will grow.