Sign In
Ask Question
Computers & Technology
Dayton Colon
27 March, 06:49
What is an abstract data type?
+5
Answers (
1
)
Kasey Arroyo
27 March, 07:56
0
Abstract data type is a datatype which hides all the implementation details to the end user.
Explanation:
Class is an abstract data type in object oriented programming. Class abstracts both data members and member functions implementation. Here we can hide some confidential data from end user using access specifier "private". We can make end user access only the data which is marked as "public".
example:
public class Calculate
{
private int salary;
public int workingHours;
public int reatePerHour;
public void Calcuate () {
int total=workingHours*reatePerHour;
cout<
}
}
Here class calculates hides the implementation details of the method "Calculate". We are abstracting implementation details to the end user using "Class" data type. So it is an AbstarctDataType
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Get an answer to your question ✅
“What is an abstract data type? ...”
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
Select the correct answer. Which presentation software element can you use to create a model diagram with two concentric circles inside a triangle? A. text B. table chart D. flowchart E. shapes
Answers (1)
In times of crisis, why is the internet a useful tool for a sport communications practitioner?
Answers (1)
The initial value for a number field on a record is 1. A user updated the value of the number field to 10. This action invokes a workflow field update, which changes the value of the number field to 11.
Answers (1)
A user wants to sort data in multiple columns. Which sequence of steps will sort the data? select a cell in the data rangeselect the Data tab select "Sort" in the Sort and Filter groupselect the column to be sortedselect an orderclick OK select a
Answers (1)
You receive an offer in the mail that says you're eligible to win a cash prize if you place some stickers on a form and return it to the sender. What type of contract is this?
Answers (1)
New Questions in Computers & Technology
You have a new application that is taking full advantage of the features of your smartphone, including the touch screen and an embedded gps receiver. what kind of application is this?
Answers (1)
A defensive driver's priority is __ A. efficiency B. speed C. handling D. safety
Answers (2)
What is the meaning of 4 8 15 16 23 42?
Answers (1)
Which if the following is an example of tangible property? A method for creating ice cream that you friend thought of. An idea for an invention that your dad mentioned briefly but did not write down. Song lyrics printed in a songbook.
Answers (1)
Technician A says that a disc brake thickness variation of 0.0003″ (0.0076 mm) can cause brake pedal pulsations, requiring resurfacing or replacement of the brake rotors.
Answers (2)
Home
»
Computers & Technology
» What is an abstract data type?
Sign In
Sign Up
Forgot Password?