OOP, procedural programming, etc.
Hi :)
Please help me with queries below.
1: I understand that OOP is not a language rather it's a tool to better organization of data. It is said before most languages were procedural - 'procedure': a series of steps followed in a regular definite order. I think without OOP functionality C++ is a procedural language; OOP adds further features of data handling etc. So, I would say languages, at least C++, is still procedural. Please correct me.
2: "+" is a binary operation. Is a function also an operation rather a set of code which performs particular task?
3: How would you simply define "polymorphism"? Perhaps analogizing it would be better.
4: Does OOP give you better data security and data hiding? "security" and "hiding" in what way? One cay still access data. I mean you don't need password to access anything. Perhaps, it's just that you have to dig a little deeper to mess up things.
Thank you for your time and help.
Regards
Jackson