Advertisements
Advertisements
Question
Name two ways of creating objects in a constructor.
Short Answer
Solution
The item can be produced in two different ways:
- Created by compiler.
- Created by programmer.
shaalaa.com
Is there an error in this question or solution?