Answers were Sorted based on User's Feedback



what is data Abstraction? and give example..

Answer / rlv

Abstraction is categorized as Data Abstraction and Procedural Abstraction. In data abstraction, the way the data are stored e.g. the structure or arrangement of data is hidden.

Procedural abstraction on the other hand, hides the details on how the function/procedure/method works. You must only know the inputs and the expected outputs, much like a black-box. The two ideas combined serve as one of the important concept in OOP called Encapsulation.

As an example, when you create a class for StudentGrades, the variables and their structure for representing grades is hidden by using the private keyword, you only provide methods to access and manipulate this data.

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / abhay shukla

ata abstraction is a process of representing the essential
features without including implementation 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 ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / jithin

Data abstraction is the virtue by which the object hides its
internal operation and data members from rest of the
program.
it makes it unnecessary for the client programs to
know how the data is internally arranged in the object.

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / dashrath singh

In Data Abstraction Abstraction is a way through which we
can extract the useful information when it is called by
Objects or variables by hiding the definition

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / mrk

Data Abstraction is the process of representing the essential features without including the background details.

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / jaikant mishra

Data Abstraction refers to the act of representing
essential features without including its background details.
it is the selective examination of certain aspects of a
problem.the goal of abstraction is to isolate those apects
that are important for some purpose and surpress the other
that are unimportant.different abstraction for the same
thing are possible.
ex:
the information required by a carpenter for furnishing a
building is different from the information required by a
plumber or electrician for working on the same building

Is This Answer Correct ?    1 Yes 1 No

what is data Abstraction? and give example..

Answer / nitin

Abstraction is turning all the answers in this post to just an answer :)

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / sattu

To choose the best idea from the broad idea is called
abstraction.and it is a process;

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / kuldeep singh

data abstraction is the object oriented programming feature
it will refer the essential details and not include the
internal details .and user defined data types introduced
like as a any class .example -----drive a car. 2. index of
book . 3. internal activities in human beings.

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / m.shahzad

In Object Oriented Programming Data Abstraction is the
Technique which is Used to Minimize the Complexity...
what is Mean Complexity?
its mean that before u go for a project let say its one module
you don't see its entire details except that u see what do
you needed at this time to complete this specific problem not
all the Complex detail of this module u need this concept
minimize the complexity of that Problem through the concept
of Abstraction

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the use of :: operator in c++?

0 Answers  


How can you link a c program with a c function?

0 Answers  


What does flush do?

0 Answers  


What is ios :: in in c++?

0 Answers  


To which numbering system can the binary number 1101100100111100 be easily converted to?

0 Answers  






Is c++ a pure oop language?

0 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


Explain terminate() function?

0 Answers  


What is namespace & why it is used in c++?

0 Answers  


What is static function and static class?

4 Answers   HCL,


I need to find a specific string between two strings how do I do it?

1 Answers   Infosys,


What happens if an exception is throws from an object's constructor and from object's destructor?

3 Answers   TCS,


Categories