+ 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

8th Jun 2017, 11:18 AM
Basic Coding
Basic Coding - avatar
5 Respuestas
+ 7
:( don't give up!
8th Jun 2017, 11:25 AM
jay
jay - avatar
+ 2
No it didint xD Fachri
8th Jun 2017, 1:59 PM
Basic Coding
Basic Coding - avatar
+ 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!
8th Jun 2017, 11:32 AM
Szabó Gábor
Szabó Gábor - avatar
8th Jun 2017, 12:43 PM
Fachri Fadillah
Fachri Fadillah - avatar
+ 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
8th Jun 2017, 2:05 PM
Fachri Fadillah
Fachri Fadillah - avatar