domenica 16 luglio 2017

Functional interface and :: keyword in 5 minutes

 A functional interface
  1. Has only one method
  2. Allows static implemented methods
  3. Allows default  (non static) implemented methods

While the general use of the :: keyword is:
  1. ClassName::methodName
  2. ObjectInstance::methodName
  3. ClassName::new




Nessun commento:

Posta un commento