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 ways are legal to access a class data member using this pointer?
A:
this->x
B:
this.x
C:
*this.x
D:
*this-x
Answer:
A
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following factors supports the statement that reusability is a desirable feature of a language?
A:
It decreases the testing time.
B:
It lowers the maintenance cost.
C:
It reduces the compilation time.
D:
Both A and B.
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following concepts is used to implement late binding?
A:
Virtual function
B:
Operator function
C:
Const function
D:
Static function
Answer:
A
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following is the correct way of declaring a function as constant?
A:
const int ShowData(void) { /* statements */ }
B:
int const ShowData(void) { /* statements */ }
C:
int ShowData(void) const { /* statements */ }
D:
Both A and B
Answer:
C
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.
A:
Inheritance
B:
Polymorphism
C:
Abstraction
D:
Encapsulation
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.