Sign In
Ask Question
Heidy Cordova
Computers & Technology
28 June, 22:29
What is abstraction?
+4
Answers (
2
)
Rowan Barton
28 June, 22:35
0
Objects in an OOP language provide an abstraction that hides the internal implementation details. Similar to the coffee machine in your kitchen, you just need to know which methods of the object are available to call and which input parameters are needed to trigger a specific operation. But you don't need to understand how this method is implemented and which kinds of actions it has to perform to create the expected result.
Let's implement the coffee machine example in Java. You do the same in any other object-oriented programming language. The syntax might be a little bit different, but the general concept is the same.
Explanation:
Objects in an OOP language provide an abstraction that hides the internal implementation details. Similar to the coffee machine in your kitchen, you just need to know which methods of the object are available to call and which input parameters are needed to trigger a specific operation. But you don't need to understand how this method is implemented and which kinds of actions it has to perform to create the expected result.
Let's implement the coffee machine example in Java. You do the same in any other object-oriented programming language. The syntax might be a little bit different, but the general concept is the same.
Comment
Complaint
Link
Trevon Reeves
28 June, 22:56
0
Freedom from representational qualities in art
Or
the quality of dealing with ideas rather than events
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Find an answer to your question 👍
“What is abstraction? ...”
in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers
You Might be Interested in
Which of the following method signatures correctly specifies an array as a return type? a) private array testMethod (int x) b) private int[ ] testMethod (int x) c) private double[5] testMethod (int x) d) private double testMethod[ ] (int x) e) can't
Answers (1)
The primary input devices for smartphones are
Answers (1)
Windows 7 creates a special system file on you hard disk called a for use as supplemental ram
Answers (1)
Who are some of my emails not all deleting on my android i have to use my laptop to see them to delete them?
Answers (1)
Assume you have a packet with data payload of 1024 bytes. The packet header is 6 bytes. Assume there is no other overhead. The current bit error rate (BER) is 0.0001. What is the packet level error rate (PER) ?
Answers (1)
New Questions in Computers & Technology
What are the disadvantages of a server-based network? - lack of centralized network security - need for a network administrator - NOS needs to be installed on each workstation - server problems disrupt network
Answers (1)
Write a Box class whose init method takes three parameters and uses them to initialize the length, width and height of a Box. It should also have a method named volume that returns the volume of the Box.
Answers (1)
What is 3NF in database design?
Answers (1)
As a consommé simmers, the meat and eggs coagulate, forming a
Answers (1)
1) Using the density equation d=m/V: What is the density of a piece of metal with a mass o 87.6g and a volume of 11.2cm?
Answers (1)
Home
»
Computers & Technology
» What is abstraction?
Sign In
Sign Up
Forgot Password?