0 votes
in Android by
Mention the difference between class, file and activity in Android?

1 Answer

0 votes
by

The difference between them is as follows:

Class is a compiled form of a .java file that Android uses to produce an executable .apk file.

A file is a block of arbitrary information or resources used for storing information. It can be of any file type.

Activity is a single screen that represents GUI(Graphical User Interface) with which users can interact in order to do something like dial the phone, view email, etc.

...