Computer Science, asked by Siddhii, 1 year ago

What is parameterized constructor??

Answers

Answered by Satan2002
9
The constructor which accepts arguments with different data types known as parameters is called Parameterized constructors.
Example:-
class brainly
.......
{
brainly(int a, char b) //parameterized constructor.

HOPE THIS HELPS!!

Satan2002: hope this helps
Siddhii: yes
Siddhii: tq
Satan2002: np
Satan2002: please mark as brainliest please
Siddhii: ok
Similar questions