Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Y to add constructor. According to java when you declare a function or method, a constructor is automatically derived. So if u try to add it would be overloaded.
it shows error. So its not possible.
No, it is not possible.
Yes you can create it if you have an inner class inside your method.
Yes u can create