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 will the following code fragment print? for (i = 0; i < 9; i++); cout << i + 1; cout << i;
Answers (1)
What are the basic kinds of matter called
Answers (2)
Running stop signs and lights is an blank that a driver may be operating their vehicle under the influence of drugs
Answers (2)
Different GUI concepts or sample that you often see when using software?
Answers (1)
Which position is expected to be at the center of the action providing complete technology solutions for a business? programmer engineer technical writer IT manager
Answers (1)
New Questions in Computers & Technology
Two blue armies are each poised on opposite hills preparing to attack a single red army in the valley. The red army can defeat either of the blue armies separately but will fail to defeat both blue armies if they attack simultaneously.
Answers (1)
Suppose we replace the wait () and signal () operations of monitors with a single construct await (B), where B is a general Boolean expression that causes the process executing it to wait until B become true.
Answers (1)
Write a method drivingCost () with input parameters drivenMiles, milesPerGallon, and dollarsPerGallon, that returns the dollar cost to drive those miles. All items are of type double. If the method is called with 50 20.0 3.1599, the method returns 7.
Answers (1)
What are the 6 external parts of a computer
Answers (1)
What type of hard drive is in original xbox?
Answers (1)
Home
»
Computers & Technology
» What is abstraction?
Sign In
Sign Up
Forgot Password?