In which access should a constructor be defined, so that object of the class can be created in any function?
A. Public
B. Protected
C. Private
D. Any access specifier will work
Answer:A
In which access should a constructor be defined, so that object of the class can be created in any function?
A. Public B. Protected C. Private D. Any access specifier will work