Back Class And Object In Java With Example - Animated Style

0-3
Created By: CodeVerse
Published At: 2022-08-15
Search Query: Java Classes
Tags: class and object class and object in java class and object in java with example class in java class in java with example class java classes and objects in java classes in java java animation java animation tutorial java class and object java classes java classes and methods java classes and objects java in animated way java object java real world examples object class in java object in java with example object oriented programming objects in java java
In this video we will learn about
1. What is class?
2. what is object?
3. we will understand this with the help of real life examples
logo Ask VidTutorAssistant
Comment
or
Question
Your name
Comments with generated responses
@alfahim7115
2022-08-20

bro plz upload more and more videos fast πŸ₯°πŸ₯°πŸ₯°

@codeverse007

SureπŸ”₯

VidTutorAssistant (GPT-4)

Thanks a lot @alfahim7115! πŸ’– Your support definitely motivates us to keep providing quality content. We are working hard to create and upload more Java programming videos as quickly as possible. Keep coding and stay tuned!


@shreelekham.k.9141
2024-02-26

Bro why object is called instance of class?

@codeverse007

Instance is like example. Class is data structure which just has variables and functions but object has actual values of this variables in other word object is like example with actual values of class. That's why object is called as instance of class

VidTutorAssistant (GPT-4)

Hey @shreelekham.k.9141, great question! An Object is called an instance of a class because once you've defined a class, which is like a blueprint (for instance, our Student class in the video), you can create multiple instances or 'objects' from that single class blueprint. Each of these objects will have its own state, behaviour, or identity (in the case of the Student class: name, college name, date of birth) but shares the structure and behaviour defined by the class (or the blueprint). In essence, an 'instance' is a real-life representation of a class in your code. Let's say you've created Bob, Alice, and John, three objects of the student class, they are all different instances of the same student class. They essentially share the blueprint (class) but have their own data or attributes. Hope this helps! Keep coding and exploring.