Parametrized Constructor in Java

mostfunnyvideo
14 Views
A parameterized constructor accepts parameters with which you can initialize the instance variables. Using parameterized constructor, you can initialize the class variables dynamically at the time of instantiating the class with distinct values.

Comments