0

Is it that constructor can only be declared in public access specifier?

28th Jul 2016, 4:23 PM
Abhilash Anand
Abhilash Anand - avatar
1 Answer
+ 1
no it can also declared under protected modifier in inheritance important thing is from where construtor function is called... if it had the access to the constructor then program will run
30th Jul 2016, 4:34 AM
Shaurya Agnihotri