Pregunta de entrevista de Softsuave

constructor looping

Respuestas de entrevistas

Anónimo

19 de ago de 2016

no answer

9

Anónimo

9 de feb de 2019

In my Opinion, Constructor looping means "Recursive Constructor Invocation"....It means that when suppose you have two constructors (one is parameterized and other one happens to be default). When you are calling other constructor(Using this method) in one constructor and vice versa. This leads to infinite looping of calling constructors (leads to error saying "Recursive Constructor Invocation") Thanks!!

2