+ 1
What is an Object in OOP?
I have completed learning Swift and about to complete Python 3, but I still don't understand the reference of 'object' in OOPs.
3 odpowiedzi
+ 5
object: object is create partition. of memory area both data and instructions store.
ex.building
oops:-
oops is paradigm.we use class and object we can design a program .
there are four techanic we use in Java
1.inheritance
2.ecapsulation
3polymorphism
4.abstaction
advantage of oops programming language
1.reusable class
2.hidden data
ex:-person is object
class is blueprint of object(scratch)
everyone object state and behavior
(I hope you understand)
+ 1
check this video.
https://youtu.be/K8eOkzQ_o9w
+ 1
An object is an instance of a class..
We can access or allocate memory to a variable defined in class only through an object.
A class can have n number of object declarations..