#21 Class And Object Theory in Java - YouTube PDF
#21 Class And Object … Summary
Java is an object-oriented programming
language, meaning everything in the
real world can be treated as an object.
Objects have properties and behaviors.
To create objects in Java, we need to
create classes as blueprints for the
objects.
Transcript
00:00 once we have talked about
the basics of java it's time
to move towards some
Concepts now at the start Timestamped Highlights
📌 Java is an object-oriented
itself we have mentioned
that Java is object oriented 0:16
programming now what do programming language.
you mean by object
oriented programming so 0:40 📌 Objects in the real world can be
when you talk about object treated as objects in programming.
in real world everything is
object right in fact if I'm 1:12 📌 Objects have properties and
using uh a pen that's an behaviors.
object if I'm using a mouse
that's an object if I'm using 2:17 📌 Creating classes in Java acts as
a sellotape I don't know blueprints for objects.
why I have sellotape on my
table but that's an object
3:08 📌 JVM creates objects based on
the class blueprints.
right so everything around
you is
4:01 📌 Giving a class design is like
giving a blueprint to a carpenter.
5:03 📌 Classes are compiled into byte
code, which is then used by JVM to
create objects.
Key Insights
-💡 Object-oriented programming
treats everything as an object, including
humans.
#21 Class And Object … Summary
Java is an object-oriented programming
language, meaning everything in the
real world can be treated as an object.
Objects have properties and behaviors.
To create objects in Java, we need to
create classes as blueprints for the
objects.
Transcript
00:00 once we have talked about
the basics of java it's time
to move towards some
Concepts now at the start Timestamped Highlights
📌 Java is an object-oriented
itself we have mentioned
that Java is object oriented 0:16
programming now what do programming language.
you mean by object
oriented programming so 0:40 📌 Objects in the real world can be
when you talk about object treated as objects in programming.
in real world everything is
object right in fact if I'm 1:12 📌 Objects have properties and
using uh a pen that's an behaviors.
object if I'm using a mouse
that's an object if I'm using 2:17 📌 Creating classes in Java acts as
a sellotape I don't know blueprints for objects.
why I have sellotape on my
table but that's an object
3:08 📌 JVM creates objects based on
the class blueprints.
right so everything around
you is
4:01 📌 Giving a class design is like
giving a blueprint to a carpenter.
5:03 📌 Classes are compiled into byte
code, which is then used by JVM to
create objects.
Key Insights
-💡 Object-oriented programming
treats everything as an object, including
humans.