Is "class" in java a bit like "Activity" on Android ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is "class" in java a bit like "Activity" on Android ?

Is "class" in java a bit like "Activity" on Android ? I program Android applications and I'd like to know if "class" is a bit like "Activity".

22nd Apr 2018, 9:05 AM
Vincent Philippe
Vincent Philippe - avatar
1 Answer
+ 7
Activity is itself a class, and through the developers documentation we know that it is a direct subclass of ContextThemeWrapper class and also a superclass to many other activity classes. PS. Activity is not like a class, it IS a class.
22nd Apr 2018, 9:25 AM
Dev
Dev - avatar