+ 4
What is Object Oriented Programming?
I think im giving up on programming its just too hard and too many concepta to learn! My head is about to explode
5 ответов
+ 7
:( don't give up!
+ 2
No it didint xD Fachri
+ 1
We modell tge world as bunch of object.
Every object are described by class , its kinda pattern for making objects.
Every object has fields what stored different kind of values, and has methods ehat can change that values ,and has constructor what initialize the object.
For example . Person can modelled by a class what have a name and an age field, and getter and setter for theese fields, and constructir wit the two fields.
Now create a person. (Java syntax)
Person p = new Person("John","42") . We have person named John age 42.
p.getAge(); return 42
p.setName("Frank"); Now the p person named Frank.
I hope it helped. You can ask more!
+ 1
This may help
https://www.sololearn.com/discuss/252198/?ref=app
+ 1
if learning was too hard try this
when you learn something new try to write it on a paper to help you remember it