I ve got the following code using arrays to find some prim numbers. However, when trying to compile my user class PalindromeArrayUser it says - \"Constructor in class cannot
Error is because you are extending PalindromeArray, which has an explicit constructor. You must provide the constructor with argument.
Because there is no default constructor available in B, as the compiler error message indicates. Once you define a constructor in a class, the default constructor is not included. If you define any constructor, then you must define all constructors.
Read more here
Disclaimer: The above is taken from the article