People say that methods were invented so programmers don't have to write codes again and again. I dont get it. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

People say that methods were invented so programmers don't have to write codes again and again. I dont get it.

People say that methods were invented so programmers don't have to write codes again and again. I dont get it. do methods have codes stored in them? Or we can also store codes?

1st Feb 2019, 11:56 AM
Raptor Bot
Raptor Bot - avatar
1 Answer
+ 2
They are right,methods are meant for that.. They just keep data in one place. When called that data is executed or it returns something..You'll understand it at some point when you start writing code..
1st Feb 2019, 12:50 PM
Mensch
Mensch - avatar