C++ basic interview questions and answers pdf - 2
Question: 6
What is data abstraction?
Instruments allowing only selected access of components to objects and to members of other classes is called data abstraction.
Question: 7
What effect does the visibility label protected, has on the members of a class?
The members that have been declared as protected can be accessed from within the class, and from the members of the inherited classes.
Question: 8
Write the characteristics of member functions?
Data members are the data variables that represent the features or properties of a class.
Member functions are the functions that perform specific tasks in a class.
Member functions are called as methods, and data members are also called as attributes.
Question: 9
What effect does the visibility label public, has on the members of a class?
The members that have been declared as public can be accessed from outside the class also
Question: 10
What effect does the visibility label private has on the members of a class?
The members that have been declared as private, can be accessed only from within the class.
- C++ Interview Questions and Answers for Experienced
- Top 200+ C++ Interview Questions and Answers
- C++ Interview Questions and Answers for Freshers
- Advanced C++ Programming Interview Questions and Answers
- C++ Language Interview Questions for Experienced Pdf
- C++ Programs Asked in Interview for Freshers
- C++ Interview Questions and Answers Pdf
- C++ Language Interview Questions and Answers for Freshers Pdf
- C++ Questions and Answers
- Top 250+ C++ Constructor and Destructor Programming Interview Questions
- C++ basic interview questions and answers pdf
- C++ Programming Interview Questions and Answers
- C++ Technical Interview Questions and Answers
- Top 200+ Advanced C++ Interview Questions 2020-2021
- C++ Lab Viva-Practical Exams Questions and Answers
- C++ Coding Interview Questions and Answers
Agricultural Engineering Farm Power MCQ Questions and Answers More
Agricultural Engineering Farm Machinery MCQ Questions and Answers More
ECE Interview Questions and Answers Pdf More
Control System Questions and Answers Pdf More
GATE Analog Electronics MCQ Questions and Answers More
100+ Logical Venn Diagrams Questions and Answers Pdf More
Java String Manipulation Interview Questions with Answers More
1000+ Heat and Mass Transfer Questions and Answers Pdf More
6999+ History Questions for SSC CGL Tier 1, Tier 2 Exam Pdf More
C Programming Interview Questions and Answers for Experienced More