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
How to send an email to everyone in your contacts gmail?
Answers (1)
Which of the following is not a common network architecture type? a. Local area network (LAN) b. Home area network (HAN) c. Intraoffice area network (IAN) d. Personal area network (PAN)
Answers (1)
What is a device that is around the same size as a credit card, containing embedded technologies that can store information and small amounts of software to perform some limited processing?
Answers (1)
For the purposes of laying out content, the total height of a box is calculated by adding which of the following?
Answers (1)
What is the easiest way to ensure all of your computers include the newest Windows updates while still ensuring that those updates do not cause any problems for the users?
Answers (1)
New Questions in Computers & Technology
A 5-inch, f/6 telescope has a 2-inch eyepiece focal. Its magnifying power is: 5X 6X 15X 60X
Answers (1)
How many hours did it take supercomputer to calculate pi?
Answers (1)
Which of the following would an NSA professional most likely need? A. a high school diploma B. a high school diploma and some training C. a certificate D. a bachelor's degree (correct answer)
Answers (2)
Another name for divergent boundaries that occur under the ocean is earthquake volcanic spreading seafloor spreading seismic shift
Answers (2)
Which of the following costs should be considered when providing your own Web server instead of using a cloud service provider or an Internet Service Provider (ISP) ? This task contains the radio buttons and checkboxes for options.
Answers (1)
Home
»
Computers & Technology
» What is an abstract data type?
Sign In
Sign Up
Forgot Password?