My Report

Object Oriented Programming Practice Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which among the following is true for public member functions?

2. All the operators can be overloaded using the member function operator overloading.

3. In java ______________ takes care of managing memory for objects dynamically.

4. If the left operand is pointed by *this pointer, what happens to other operands?

5. Which of the following function can be used for dynamic memory allocation of objects?

6. How is it possible to have both const and non-const version of a function?

7. Which among the following best describes member function overriding?

8. Can main() function be made private?

9. What is the syntax of a const member function?

10. Which language doesn’t support the method overriding implicitly?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.