Answer Posted / namitha

Data abstraction refers to, providing only essential
features by hiding its background details.
example:
class result
{
int marks;
float percentage;
char name[20];
void input();
void output();
}

main()
{
bank b1;
b1.input();
b1.output();
}

in the above example, b1 is an object calling input and
output member functions, but that code is invisible to the
object b1.

Is This Answer Correct ?    263 Yes 58 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to declare a pointer to an array of integers?

637


How do I run c++?

568


What are guid?

679


Explain the difference between struct and class in terms of access modifier.

689


What is the role of static keyword for a class member variable?

619






What is name hiding in c++?

603


Write a program to interchange 2 variables without using the third one.

578


What is the role of copy constructor in copying of thrown objects?

589


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

581


What is the sequence of destruction of local objects?

548


what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?

1764


To what does “event-driven” refer?

602


Is swift faster than c++?

555


What gives the current position of the put pointer?

550


What is private, public and protected inheritance?

583