Hi!! Whats is abstact data type in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi!! Whats is abstact data type in c++?

ADT

19th Jun 2020, 3:47 PM
joel ferretti
joel ferretti - avatar
2 Answers
+ 1
Abstract data type is like blue prints of your actual data type. It will give you the behaviour and layout of the data type. In other words, you can create the starter motor as an entire abstract data type, protecting all of the inner code from the user. When the user wants to start the car, they can just execute the start() function.
19th Jun 2020, 3:52 PM
Arsenic
Arsenic - avatar
0
Can you write a example in code?
19th Jun 2020, 3:59 PM
joel ferretti
joel ferretti - avatar