What will happen if super.oncreate() from oncreate() function of activity is commented?
Compile time error
Run time exception, super not called.
Nothing will happen, it will still execute with empty windos
nothing will happen, it will execute with proper output
All activity's life cycle functions have to call super class methods, as super class Activity will do lot of helping functionalities for derived class. If you don't call it will throw run time exception.
Back To Top