Class – The Class file is complied from .java file. Android will use this .class file to produce the executable apk
File – It is a block of resources, arbitrary information. It can be an y file type.
Activity – An activity is the equivalent of a Frame/Window in GUI tool-kits. It is not a file or a file type it is just a class that can be extended in Android for loading UI elements on view.