IBM Interview Question

The difference between method types in Java