+ 3

question

I really not understand the word object anyone can help by describing "Object".

16th Feb 2019, 12:05 PM
Ayush Goyal
Ayush Goyal - avatar
5 Antworten
+ 10
Object is an example of a class and has its own attribute. You shouldnt jump to OOP now. Learn basics first
18th Feb 2019, 11:55 AM
Adetola Adex
Adetola Adex - avatar
+ 5
Object is just an example of a class. Lets say there is a group of students. Then, "Student" can be called a "class" or a "group" If you are a student, then you are an "example" of a student. So, "Ayush" is an example of a "Student". Therefore, "Ayush" an object of class "Student" Lets say you have a friend "Infinity" who is also a student. Then he also falls in the category of "Student". "Infinity" is also an object of class "Student". I hope you could get it, because I think this is the simplest explanation possible ;)
17th Feb 2019, 8:08 AM
Abhishek Tandon
Abhishek Tandon - avatar
+ 4
An apple is an object; so is a mug. Each has its unique identity. It's possible to have two mugs that look identical, but they are still separate, unique objects. Think of an object as details you fill in to your forms.. whereas the form is your class. 💕 Class can be car, schools, fruits Objects can be BMW, Benz,, sololearn, udemy,, Apple, grape
9th Apr 2019, 3:12 PM
abdulconsole
abdulconsole - avatar
+ 2
Object is the instance of class. Imagine class is a cpntainer. Then, objects are things inside the container.
16th Feb 2019, 1:35 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 1
I think, you are new on programming. Lets read more on basics, hello world on severals languages, variable, operator, function, types, return type and soon. If we new on programming and force to OOP, it will not make sense. For example, many books on oop will give example class Point, has x and y. If we new and force jump to oop, it will not make sense. (Sorry for my english).
18th Feb 2019, 9:25 AM
HD Satria
HD Satria - avatar