I am not getting the concept of OOP properly. can anyone help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I am not getting the concept of OOP properly. can anyone help?

25th Mar 2016, 2:13 PM
Lovepreet Singh
Lovepreet Singh - avatar
3 Answers
+ 2
I think it's better to describe OOP as "object creator". For example, you want to create class " Student". You use real student as reference to create attributes. What are the main attributes of student? Name, age, faculty, group, mark, semester. You add them to class student. And you work with these attributes. I hope this helps
6th Apr 2016, 6:25 AM
Данила Голубцов
Данила Голубцов - avatar
+ 1
Juat try to read a simple local book then start with Head First java book.Amazing and funny way to learn java...
6th Jul 2016, 5:57 AM
Anshul Kaushik
Anshul Kaushik - avatar
0
In non object oriented languages like C or FORTRAN, programs are written in a step by step fashion. for example, do this, then do that, then... It's a process or function oriented approach to programming. OOP is a data oriented approach and allows the bundling of data with functions in a clearer manner.
12th Jun 2016, 6:23 AM
M P
M P - avatar