Sign In
Ask Question
Kelton Barber
Computers & Technology
26 September, 10:09
What is an abstract data type?
+4
Answers (
1
)
Virginia Kennedy
26 September, 10:15
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?
Find an answer to your question 👍
“What is an abstract data type? ...”
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
A store tracks customers and their orders in a database. What can be created to store this collection of related data?
Answers (1)
If a gas gosts 3.60 per gallon how much doe sit cost to drive 500 miles in the city
Answers (1)
By applying styles formats are being applied? A. The same B. Different C. Various D. Similar
Answers (2)
If a cell undergoes cell division every 5 min, how many cells will there be after 1hr
Answers (1)
Which one of the following oscilloscope controls is used to move the trace up and down the screen vertically? A. Focus B. Sweep speed C. Intensity D. Position
Answers (1)
New Questions in Computers & Technology
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)
How would you maximize the use of outsourced programmers? A) have them act as your personal assistants B) train them to do other work C) release them when the project is complete D) lower their pay.
Answers (1)
Minors must have their license form signed by a parent or guardian. True or false?
Answers (2)
ProcessName2 Modify your solution to the previous ProcessName exercise so that it re-prompts until the user types a name that is at least 5 letters total in length and has at least one space in it.
Answers (1)
Home
»
Computers & Technology
» What is an abstract data type?
Sign In
Sign Up
Forgot Password?