WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / sdk
Encapsulation prevents the code and data of one class to be
accessed by code which is out side class
Abstraction refers to hiding of irrelevant data.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the point of oop?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
what type of question are asked in thoughtworks pair programming round ?
What are the three main types of variables?
Write a program to reverse a string using recursive function?
Can static class have constructor?
What is polymorphism and why is it important?
hi all..i want to know oops concepts clearly can any1 explain??
Which method cannot be overridden?
What is polymorphism used for?
Is data hiding and abstraction same?
Explain virtual inheritance?
What is the main purpose of inheritance law?
What is the difference between a constructor and a destructor?
What are functions in oop?