What does this mean in constructor chaining concept?
Select one
O Used for calling the no argument constructor of the same class
Used for calling the current object of the parent class.
Used for calling the parameterized constructor of the parent class.
O Used for calling the current object of the same class.
Identify which statement is true about construtors
Answers
Answered by
0
Answer:
used for calling the current object of the same class...
Answered by
0
Answer:
Constructor chaining is the process of calling one constructor from another constructor with respect to current object. Constructor chaining can be done in two ways: Within same class: It can be done using this() keyword for constructors in same class.
Similar questions
English,
1 month ago
English,
2 months ago
Accountancy,
2 months ago
Social Sciences,
10 months ago
Science,
10 months ago
Math,
10 months ago