"I almost forgot. Here are some potential interview questions that we covered in this level:"
Interview questions | |
---|---|
1 | List the Object class's methods |
2 | Why do we need the equals & hashCode methods? |
3 | What will happen if you override equals but don't override hashCode? |
4 | Why do we need the wait, notify, and notifyAll methods? |
5 | What's the right way to clone an object? |
6 | Why do we need the finalize() method and how does it work? |
7 | What is the difference between final, finally, and finalize? |
8 | What is a try-with-resources statement? |
9 | What's the difference between wait(1000) and sleep(1000)? |
10 | What's the difference between i++ and ++i? |
GO TO FULL VERSION