+ 2

pls explanation me terms like objects , classes and object oriented language

i am not a computer student. When i am searching on internet it looks like a complicated mess . i want to understand that in simple language.

26th May 2020, 5:29 AM
Bhavuk Sharma
Bhavuk Sharma - avatar
5 odpowiedzi
+ 3
Classes in python are just like an array of functions... Practice it, I guarantee you will get it... I also used to find OOP difficult but as I started solving problems using OOP... I got used to it... It is the first step towards intermediate programming
26th May 2020, 5:37 AM
Namit Jain
Namit Jain - avatar
+ 3
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 i didn't found them any helpful that is why i am here. i read to create an object we need a class and everything in oop is an object does it means that a self defined function is also a part of a class def t(): return 5 print(type(t)) gives <class 'function'>
26th May 2020, 6:52 AM
Bhavuk Sharma
Bhavuk Sharma - avatar
+ 3
The meaning of class is classification/type.... And in object oriented programming we are using <class 'object'> I think you misinterpreted the meaning of'class'.
26th May 2020, 6:55 AM
Namit Jain
Namit Jain - avatar
+ 1
Be patient man, you will get to know and understand about all these stuff in the later chapters of python and Javascript since they are complicated for a newbie.
26th May 2020, 5:40 AM
Rellot's screwdriver
Rellot's screwdriver - avatar