Yahoo Interview Question

Different kind of resource leaks in Java?