Constructor Properties Java
Java comes with a set of special set of Constructor Properties. List of Constructor Properties What can not? 1. "A constructor cannot be abstract, static, final, native, strictfp, or synchronized". 2. Interface cannot have constructor. 3. Constructor cannot return a value. What can? 1. A constructor can be private. 2. Abstract class can have constructor. …