can we say enum are just acts like set of similar things or data type ?? can we perform set operations like union and intersection through enums ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can we say enum are just acts like set of similar things or data type ?? can we perform set operations like union and intersection through enums ???

29th Oct 2016, 7:28 AM
mirza arslan
mirza arslan - avatar
2 Answers
+ 2
yes you can. enus fix the number of varables that we use in programing. that makes bug free program. Their is a dofference between union, it create all variables in one block th
29th Oct 2016, 12:21 PM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 1
yes you can use ...it will just increase the efficiency and make the program error free...
8th Nov 2016, 12:41 PM
DEBASISH DAS MOHANTY
DEBASISH DAS MOHANTY - avatar