Answer Posted / rajdeep gupta
Two concepts that go together in the object oriented approach are Encapsulation & Abstraction. Abstraction is the representation of only the essential features of an object, while Encapsulation is the hiding of the non-essential features.
Think of a person driving a car. He does not need to know the internal working of the engine or the way gear changes work, to be able to drive the car (Encapsulation). Instead, he needs to know things such as how much turning the steering wheel needs, etc (Abstraction).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are oops methods?
What is super in oop?
What is multilevel inheritance in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is the highest level of cohesion?
What is difference between abstraction and encapsulation?
Write a program to reverse a string using recursive function?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is for loop and its syntax?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What are functions in 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 is object and example?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is difference between pop and oop?