Exam
Adept.com
Home
About Us
Contact
🏠 Home
Constructors And Destructors
Constructors And Destructors
Exercise: Constructors And Destructors
📂 Constructors And Destructors
✅
Questions for: Constructors And Destructors
What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?
A:
Compile-time error.
B:
Preprocessing error.
C:
Runtime error.
D:
Runtime exception.
Answer:
A
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
A constructor that accepts __________ parameters is called the default constructor.
A:
one
B:
two
C:
no
D:
three
Answer:
C
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Ad Slot (Above Pagination)
‹ Prev
1
2
3
4
5
6
7
8
9
10
11
Install ExamAdept
Fast access — add this app to your device.
Install
✕
To install on iPhone/iPad: tap Share →
Add to Home Screen
.
Quiz
Discuss About this Question.