Register now or log in to join your professional community.
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
Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.