Author: Binya

Puzzle Based Interview Questions

Puzzle Based Interview Questions

You have 2 supposedly unbreakable light bulbs and a 100-floor building. Using fewest possible drops, determine how much of an impact this type of light bulb can withstand. (i.e. it can withstand a drop from 17th floor, but breaks from the 18th). Note that the ever-popular binary search will give you...

General Interview Questions

General Interview Questions

1. Tell me about yourself The most often asked question in interviews. You need to have a short statement prepared in your mind. Be careful that it does not sound rehearsed. Limit it to work-related items unless instructed otherwise. Talk about things you have done and jobs you have held that...

CCNA Interview questions

CCNA Interview questions

As system administrator, you type “debug ipx sap” and receive the following lines as part of the IOS response: type 0×4, “HELLO2?, 199.0002.0003.0006 (451), 2 hops type 0×4, “HELLO1?, 199.0002.0003.0008 (451), 2 hops What does “0×4? signify? * That is a Get Nearest Server response. * That it is a General...

Interview questions on EJB

Interview questions on EJB

1. How EJB Invocation happens? – Retrieve Home Object reference from Naming Service via JNDI. Return Home Object reference to the client. Create me a new EJB Object through Home Object interface. Create EJB Object from the Ejb Object. Return EJB Object reference to the client. Invoke business method using EJB...

Huge List of Java Interview Questions

Huge List of Java Interview Questions

What is the difference between procedural and object-oriented programs?– a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code. b) In procedural program, data is exposed to...

Java questions for Newbies

Java questions for Newbies

1. If Runnable interface is better than Thread class, than why we are using Thread class? What is the need for Thread class? 2. Why we are calling System.gc() method to garbage collection of unused object, if garbage collection is automatically done in Java by daemon thread in background process with...

Java Interview questions

Java Interview questions

1. How could Java classes direct program messages to the system console, but error messages, say to a file? The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they both point at the system console. This...