Friday Java Quiz: Trivia Time
- Q: How many methods does java.lang.Object have? How many of them are native?
- Q: How many interfaces does the java.lang package contain? How many of them are marker interfaces?
- Q: How many immediate subpackages are there under java? How many of them can be safely thrown away?
- Q: Have you ever used the class java.util.Scanner in production code? (I know you blogged about it. That doesn't count.)
Rules: You won't need the compiler to answer these questions. For the first three questions, write down your guess before you check the API documentation.