what that code does is assign the reference to the object stored by context variable to the variable named game (which is an instance variable). Presumably, the type of the game variable is not the Same as the type of the context variable. So the code uses an explicit cast to inform the compiler that the stored object is a Game and So can be assigned to the game variable.

shivam singhal wrote:okey then..
can you please tell me the way , How to get myself know about whose object the context contains ??

I don't know what you mean by "whose object," since there's no concept of object ownership in Java. In general though, to find out more about that variable, you'd have to look at the other code around that line, to see where the variable was assigned or passed in as a parameter. The name "context" should give you a clue though.