answersLogoWhite

0

What is abstraction in oops?

Updated: 12/16/2022
User Avatar

Wiki User

12y ago

Best Answer

Abstraction means to describe with a term or a brief sentence that the audience can understand the entirety.

In OOPS context, the program unit is an abstraction by itself. When we use the term "program", we sort of know what it is, yet don't know anything of the detail what it can and will do.

Hence, any software element may be thought of as an abstraction in OOPS if you do not know the detail implementation!! The element may be small as a method, a property, a class, an interface, and up to the entire application/program itself.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Abstraction is simplifying complex reality by modelling classes appropriate to the problem, and working at the most appropriate level of inheritance for a given aspect of the problem.

For example, Lassie the Dog may be treated as a Dog much of the time, a Collie when necessary to access Collie-specific attributes or behaviors, and as an Animal (perhaps the parent class of Dog) when counting Timmy's pets.

Abstraction is also achieved through Composition. For example, a class Car would be made up of an Engine, Gearbox, Steering objects, and many more components. To build the Car class, one does not need to know how the different components work internally, but only how to interface with them, i.e., send messages to them, receive messages from them, and perhaps make the different objects composing the class interact with each other.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

The keyword abstract can be used with both classes and methods in Java.

An abstract class can never be instantiated. Its sole purpose or rather mission in life is to be extended (subclassed).

An abstract method is a method that's been declared as abstract but not implemented. In other words, the method contains no code. You mark a method abstract when you want to force subclasses to provide the implementation.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is abstraction in oops?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is data abstraction and data hiding in oops concepts?

abstraction is show nonessential data to user ,


What are the characteristics of OOPS?

Data Encapsulation, Abstraction, Inheritance, Polymorphism


What is oops.explain briefly the elements of oops?

if any system supports for abstraction,encapsulation,inheritance and polymorphism.


What are functionalities of OOPS?

1.genericity 2.polymorphism 3.objects and classes 4.data abstraction 5.data encapsulation 6.inheritence


Main deffrent between c and cpp?

C is a procedural programming language, while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming. C++ has additional features such as classes, inheritance, and polymorphism that allow for more flexible and modular code design compared to C.


What is coping with complexity in oops?

The size and complexity of a small program is small and simple. Whereas, the size and complexity of a large application program is large and hard. The complexity in dealing with the problems to build a large application depends on the 'composition' and 'abstraction' mechanisms.


Oops you will smile?

oops, i rather not.


When was In Abstraction created?

In Abstraction was created on 2011-12-06.


What is a four letter word for oops?

oops


What is full form oops?

Oops ! I did it again.


Why oops what are oops?

Simply - "OOPS is a methodology for building the software applications."-


How do you write oops in french?

The same as you do in English: Oops.