Sign In
Ask Question
Computers & Technology
Selene
27 February, 18:38
What is abstraction?
+4
Answers (
2
)
Donna Oliver
27 February, 20:28
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
Valery Wolf
27 February, 21:33
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?
Get an answer to your question ✅
“What is abstraction? ...”
in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers
You Might be Interested in
What advantages do fiber optic cables offer over twisted pair or other media choices?
Answers (1)
How can a signature be added to an email message? Check all that apply. Open Backstage View to get to the Outlook Mail Options. Go to the General Settings menu to reveal the signature options.
Answers (1)
If you get equity funding for your business, what will you have to do?
Answers (1)
Your friends credit scores are 560, 675, 710, 590, and 640. Your credit score is 680. What is the difference between the average credit score of your friends and your credit score?
Answers (1)
The sum of the numbers 1 to n can be calculated recursively as follows: The sum from 1 to 1 is 1. The sum from 1 to n is n more than the sum from 1 to n-1 Write a function named sum that accepts a variable containing an integer value as its
Answers (1)
New Questions in Computers & Technology
What is the difference between a learner's license and a driver's license? Name the written test a potential driver must pass and list the minimum required score to earn a learner's license.
Answers (1)
Are websites required to keep logs of visitors by law?
Answers (1)
Recall when you built your binary message sending device. Why did we decide to send a message as a sequence of states (A and B) rather than modifying our devices to represent more states (State C, State D, State E, ...)
Answers (1)
Public-key cryptography can be used for encryption (ElGamal for instance) and key exchange. Furthermore, it has some properties (such as nonrepudiation) which are not offered by secret key cryptography.
Answers (2)
What kind of heat we feel from the sun
Answers (2)
Home
»
Computers & Technology
» What is abstraction?
Sign In
Sign Up
Forgot Password?