Exam
Adept.com
Home
About Us
Contact
🏠 Home
Oops Concepts
Oops Concepts
Exercise: Oops Concepts
📂 Oops Concepts
✅
Questions for: Oops Concepts
Which of the following problem causes an exception?
A:
Missing semicolon in statement in
main()
.
B:
A problem in calling function.
C:
A syntax error.
D:
A run-time error.
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following functions are performed by a constructor?
A:
Construct a new class
B:
Construct a new object
C:
Construct a new function
D:
Initialize objects
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following cannot be used with the keyword
virtual
?
A:
class
B:
member functions
C:
constructor
D:
destructor
Answer:
C
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following is the correct class of the object
cout
?
A:
iostream
B:
istream
C:
ostream
D:
ifstream
Answer:
C
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following operator is overloaded for object cout?
A:
>>
B:
<<
C:
+
D:
=
Answer:
B
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
Next ›
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.