+ 4
METHODES Vs CLASSES
I programmed a view programs and I never had the need to use classes so far .. so why should I use them seriously?
3 Respostas
+ 3
is this the only reason? btw. I checked your link
0
Classes(blue print of Object) are used in OOP.Methods are still use in OOP as well.
I think what u have been doing so far is creating methods and call them in main.
But from OOP we can create (simulate) more advanced data types(Person, Vehicle, Account,etc) more than existing int,string, list,etc. Simply OOP used to simulate real world inside computer.
I think u get more scene abt OOP if u take C# course or read abt OOP in the internet.
- 1
Classes comes to the picture with OOP(Object Oriented Programing). Check below post.
https://www.sololearn.com/discuss/290292/?ref=app