1.what are two type of classe members called?
2.what is data hiding and data encapsulation?
3.how do you make a class member visible aouside its class?
4.what is the default visibility of a class data member?
5.what are the advantages of oop over the structured
programing?
Answer Posted / monika
Two types of data members are- Data members and Member
functions.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What is the highest level of cohesion?
#include
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
How do you achieve runtime polymorphism?
What does no cap mean?
What is destructor example?
Which is not an object oriented programming language?
Why do we need polymorphism in c#?
How do you use inheritance in unity?
How does polymorphism work?
What is the real time example of inheritance?
What are functions in oop?
When not to use object oriented programming?
Can we have inheritance without polymorphism?
What are oops functions?