... double.class); 14 . Method sqrt = Math.class.getMethod("sqrt", double.class); 15 . 16 . // print tables of x- and y-values 17 . 18 . printTable (1, 10 , 10 , square); 19 . printTable (1, 10 , 10 , sqrt);20. ... classes.9. * @version 1. 10 20 04- 02-27 10 . * @author Cay Horstmann 11 . */ 12 .public class AnonymousInnerClassTest 13 .{ 14 . public static void main(String[] args) 15 . { 16 . TalkingClock clock ... Method f) 40 . { 41 . // print out the method as table header 42 . System.out.println(f); 43 . 44 . double dx = (to - from) / (n - 1) ; 45 . 46 . for (double x = from; x <= to; x += dx) 47 . { 48 ....