Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
A parameterized constructor is a method with the name same as of class and with some arguments or parameters passed to it. It is often used to initialise the object being created.
class Test
{
Test(int x)
{
t=x;
}
}
Here Test(int x) is a parameterized constructor
C. Sir| Created: 31-Mar-2018 | Updated: 16-Apr-2019|ICSE2016