If a class has one or more secondary constructors, what must each of them do?

Question:If a class has one or more secondary constructors, what must each of them do?

1.Each secondary constructor must call super().

2.Each secondary constructor must call base().

3.Each secondary constructor must directly or indirectly delegate to the primary.

4.Each secondary constructor must have the same name as the class.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!