The first example gives the correct result: any. The next two examples miss that the return type of getVal() is any (which is itself correctly determined), and declare the type of the local is 10. The ...