The :: is known as method references. Lets say we want to call a calculatePrice method of class Purchase. Then we can write it as:
Purchase::calculatePrice
It can also be seen as short form of writing the lambda expression Because method references are converted into lambda expressions.