Is it mandatory to call base class constructor in Java? In C++ it was optional, so I am asking this.
When I extend ArrayAdapter, I get this error:
ArrayAdapter
It's not necessary to call the no-args constructor of super class. If you want to call a constructor with args, user super keyword like show below:
super(arg1, ...);