What is abstraction?
Answers were Sorted based on User's Feedback
Answer / nagababu
Hiding own nessesary data from the user it is called
Abstraction
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / rajaneesh
It can be defined as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
For example a person who is driving a car doesn't need to
know the mechnical works that have been done to make a
car... so what all the driver is to do is just drive.. ie
move start and stop....
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sree
data abstraction means hiding the unneccessary part
Data abstraction is main feature of c++
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sougata kr. chatterjee
The term abstaction refers hiding the inner processing of
data but it help for done the work in structured manner.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / azra
it is manages the complexity the real world object can be managed by the abstraction.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / solanki
Abstraction is thing which you directly not use.
like as in motor making all spare aprart are come from
differnt class which all are combined in one motor class
where we use it.
we direclty not use any only one think as tyre or petrol
for use it we want to combine that all.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / arun upadhyay
Abstraction is basically the data types,information
associated with a function,object which may not be required
by user therefore that unnecessary data is hidden from user.
e.g. int a, only data type nature is provided not about
its memory space.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pavitra.m.s
Abstraction refers to the attributes of an object that
clearly demarcates it from other objects.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / guest
For example, control abstraction in structured programming
is the use of ... Object-oriented programming can be seen
as an attempt to abstract both data and
| Is This Answer Correct ? | 0 Yes | 2 No |
Templates mean
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
c++ is a purely oop concept?
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
What is the difference between class and structure?
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0
what is virtual destructor
Difference between new operator and operator new
What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required
Write on signed and unsigned integers and give three (3) examples each
What is overriding vs overloading?
What are benefits of oop?