How is data security provided in Object Oriented languages?
?
Answer Posted / guest
In c++,
Data is encapsulated(hidden) in the form of specifiers such as:
private: accessible only to members of class.
public: accessible everywhere.
protected :accessible only to the members that are
inherited(see inheritance)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Where You Can Use Interface in your Project
What is a null tree?
is there any choice in opting subjects like 4 out of 7
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Explain the concepts involved in Object Oriented programming.
Whats oop mean?
How do you answer polymorphism?
Write a program to reverse a string using recursive function?
Explain virtual inheritance?
What is class and object in oops?
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.
What are benefits of oop?
Write a program to sort the number with different sorts in one program ??
#include
write a program that takes input in digits and display the result in words from 1 to 1000