In reply to mpattaje:
Of course you can. But you are overwriting the first class definition with the second one when compiling the code, i.e. you could exclude the first class definition from the compile. When you are renaming this sequence you are doing something differently.