Java Professional — Easy
Key points
- Method reference syntax for instance methods: ClassName::methodName
- Option A, String::length, is the correct syntax for referencing an instance method
- Options B, C, and D do not follow the correct syntax for method references
Ready to go further?
Related questions
