Easy learning with example program codes

Java constructor online quiz test

Java interview question on constructor


Constructor is a special member of a class which is used to initialize the state of an object. It provides the values to the data members at the time of object creation that is why it is known as constructor.

Please follow and like us:
Posted in Quiz   

Copyright © 2020 CodesJava Protection Status