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
What is a digital security risks?
Answers (1)
A network administrator has been given a network of 172.16.85.0/21 and wants to know the usable range of IP addresses on that subnet. Which of the following indicates the correct IP address range? A. 172.16.80.0-172.16.85.254B. 172.16.80.0-172.16.88.
Answers (1)
All of the following are typical characteristics of internet predators, except white. male. between the ages of 18 and 35. high income.
Answers (1)
What are considered to be among the earliest adhesives?
Answers (1)
Which of the following are valid declarations for an assignment operator for a class named myClass? a. void friend operator = (myClass& left, const myClass& source); b. void operator = (myClass& left, const myClass& source); c.
Answers (1)
New Questions in Computers & Technology
1) Using the density equation d=m/V: What is the density of a piece of metal with a mass o 87.6g and a volume of 11.2cm?
Answers (1)
How to enlarge email to full screen?
Answers (1)
All information is clearly identified and easy to find within the source
Answers (1)
Ssl (secure sockets layer) operates at which layer of the osi model
Answers (1)
Which amendment discussed in the unit do you think has the greatest effect on your life? Why?
Answers (1)
Home
»
Computers & Technology
» What is an abstract data type?
Sign In
Sign Up
Forgot Password?