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
The programmer's job can be broken down into five development steps true or false
Answers (1)
If a user has two texts selected, the Reveal Formatting pane allows the user to compare the word counts of the two texts. insert tables into both texts. spell-check both texts. compare the fonts of the two texts.
Answers (1)
What does the shell of an operating system do
Answers (1)
The following message was encrypted using a Caesar cipher with a key of 2: fghgpf vjg ecuvng. What is the plaintext message?
Answers (1)
A) Suppose a computer has an instruction pipeline with 4 phases. How many cycles (if there are no delays) would it take to complete 80 instructions.
Answers (1)
New Questions in Computers & Technology
The is a federal law that provides a definition of the term cyberterrorism and under which young people primarily involved in what they consider to be minor computer pranks have been tried as cyberterrorists.
Answers (1)
Which tool is best used to test an electrical current for a power source? Cable tester Loopback plug Multimeter Tone generator and probe
Answers (1)
Kylie has created some code designed to keep track of information about employees at a company. The code will be used by the company to create a database of personal information (like home address, phone humber, email address, etc.
Answers (1)
Show a single view of an object, but show it in a way that makes it look 3-D, as your eye would see it.
Answers (1)
What network setting do i need for a workgroup?
Answers (1)
Home
»
Computers & Technology
» What is abstraction?
Sign In
Sign Up
Forgot Password?