- Type
- Quiz
- Course
- CS304P Object Oriented Programming (Practical)
- Size
- PDF 855 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from page 1 of 1. Download the file for all 1 page.
Q1. In classes which of the following is default access specifier?
Correct answer: Private
Q2. Following code is equivalent to which option. class Shape { string type; };
Correct answer: class Shape { private: string type; };
Q3. Which of the following is the default access specifier for members of a class?
Correct answer: private
Q4. Which of the following option is false?
Correct answer: Data members can’t be inherited
Q5. Which of the given option is not correct for destructor?
Correct answer: Destructor is a function with the same name as that of class, but preceded with a tilde 'void ~'
Related CS304P files
All CS304P files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.