Is it possible to access the getVal() function inside displayMsg () function? I tried to create an annonymous inner-class with function getVal() and I want to call the getVal() function inside the displayMsg() function of the AnonymousClass.Is it possible to access the getVal() function