📚 Question Bank Q27 — Programming and Data Structure
Tags
Programming and Data Structure
Q27. Marks: +2.0 UGC NET Paper 2: Computer Science 11 March 2023
If a constructor 'Date' is declared explicitly and has to be defined outside the class, which of the following is correct? 
1.Date :: Date(int dd) {/*...*/} ✓ Correct
2.explicit Date:: Date(int dd) {/*...*/}
3.Such a constructor cannot be defined
4.Constructor always has to be defined inside the class
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question