Explain the difference between file, class and activity in android.

: 620
Paper : Android Development FAQ (Frequently Asked Questions and answers) | Platform : Apps Development | Category : Development FAQs

File: It is a block of mixed information and resources for storing information. The file can be of any type.

Class: It is a compiled form of .java file that is used by android to produce the .apk file.

Activity: It is not a file but a class. It is used to extend android to load UI elements in a view. It is a user interface.

Suggested Papers: