Skip to content

Method references

s -> s.getName() can be written Student::getName.

What is the difference?