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
When packet loss occurs, are the packets truly being "lost", or are they simply fading into the background? (computing)
Answers (1)
Why is democracy the best form of government
Answers (1)
Assume the number variable contains the number 1000. What value will be in the number variable after the preceding code is processed? A. 0 B. 1000 C. 2000 D. 3000
Answers (1)
Which connector is most commonly used to connect printers to desktop pc systems?
Answers (1)
Are social media videos a good way to market yourself to employers? Why or why not?
Answers (2)
New Questions in Computers & Technology
Why are open standards important in the data communications industry?
Answers (1)
Choose the list of the best uses for word processing software.
Answers (1)
While at work, Joe asked Dana to show him how to change the copier paper. Joe kept working as she explained the process, and the next time the paper needed to be changed, Joe didn't do it correctly.
Answers (1)
Which of the following is an internet job search "don't"? A. use all types of job sites. B. apply for jobs that you are not qualified for. C. take advantage of the special features available on jobs sites. D. customize your cover letter and resume.
Answers (1)
The pound sign (#) is the syntax used by excel to indicate that a cell reference is absolute. a. True b. False
Answers (1)
Home
»
Computers & Technology
» What is an abstract data type?
Sign In
Sign Up
Forgot Password?