If a class have default constructor defined in private access, and one parameter constructor in protected mode, how will it be possible to create instance of object?
If a class have default constructor defined in private access, and one parameter constructor in protected mode, how will it be possible to create instance of object? Correct Answer Define a constructor in public access with different signature
If a new constructor is defined in public access. That will be available to the whole program. Only restriction will be of the way to use it.
মোঃ আরিফুল ইসলাম
Feb 20, 2025