Method references support in pointing to the methods by their names. A method reference is denoted by using "::" symbol. A method reference is used to indicate the following methods

  • Static methods
  • Instance methods
  • Constructors using new operator (TreeSet::new)

This is a fundamental question in java 8 interview questions.

BY Best Interview Question ON 06 Mar 2019