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
Hot today
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes