def test(String a, String b='tmp', Closure c){ println "Printing $a and $b to Console" } test('a','b'){} test('a'){}