void m1()

This is a method.

new Apple().m1();

Source

void m1() {}