What's the difference between a file, a class and an activity in android?
file - a file is a block which contains some information. it can be of any type.
class - a class can be defined as a blueprint which contains datatypes, methods, variables. these files are generated after execution of .java file.
Activity - an activity is a class in android which is used for loading of UI elements in the view.