Home »

What’s the difference between file, class and activity in android?

Question ListCategory: AndroidWhat’s the difference between file, class and activity in android?
shah_kajal184 author asked 2 years ago
1 Answers
denielshakespeare5 author answered 1 year ago

File- It is a block of arbitrary information, or resource for storing information. It can be
of any type.

Class- Its a compiled form of .Java file . Android finally used this .class files to produce an

executable apk

Activity- An activity is the equivalent of a Frame/Window in GUI toolkits. 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.

Please login or Register to Submit Answer