+ 1
Can we make a constructor private?
I got one question in sololearn Java quiz regarding constructor which was can we make constructors private.I selected no but it thrown error saying yes.
1 Antwort
I got one question in sololearn Java quiz regarding constructor which was can we make constructors private.I selected no but it thrown error saying yes.