How is data security provided in Object Oriented languages?
?
Answer Posted / ramakrishna yechuri
Data security is provided with the help of
access specifiers called private,protected.
A variable which is declared as private cannot be acceced
outside the class.
Total data is binded or encapsulated in the form of
class.
A class itself is an example for encapsulation.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism used for?
Get me an image implementation program.
what are the ways in which a constructors can be called?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What do you mean by variable?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is polymorphism and example?
What are main features of oop?
Where You Can Use Interface in your Project
What is protected in oop?
What is the point of polymorphism?
What is byval and byref? What are differences between them?
Why is encapsulation used?
Can we have inheritance without polymorphism?
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.