#21 Class And Object Theory in Java
HTML-код
- Опубликовано: 16 янв 2023
- Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
Udemy Courses:
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
Java For Programmers:- bit.ly/javaProgrammers
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
In this lecture we will learn:
- Java is an object-oriented language
- What are objects?
- What are classes?
- How do classes and objects create?
#1
Java is Object- Oriented Programming:-
- In the real world, everything is an object like a pen, mouse, glass, etc.
- Every object has two things:
- An object knows something ( It has some properties)
- An object does something( It has a behaviour)
- Every object has a property and behaviour. It can also have multiple properties as well as multiple behaviours.
- To create an object, first, we need to create a class.
- Class act as a blueprint that contains the designing of an object.
#2
- JVM creates objects in Java.
- JVM creates an object but it requires a blueprint.
- Thus, you create a class file that class file gets compiled to create a byte code and that byte code goes to the JVM and then JVM creates an object.
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com Наука
I subscribed this month. I am starting to see a pattern with Head First Java. Great training, Sir!
i have a test tomorow about this. thank you for explaining!
one of the best lecture, having proper explanation. Thank you
0:31 that hits hard
Hello reddy sir...thank u for this series❤
hi sir, please make a video based on core java interview questions for freshers pls........
Thank you
Wow thank you sir
tell us about framework in java
Object is something which have state and behaviour that's it.....
thanks sir
Sir, you look like Leonard Hofstader 😎😎
What is present in the class file which is compliled
a x = new b (); sir what does it mean can object have different refrence and created for another class ???? please explain me its so confusing
it is the concept of upcasting assining the parent reference variable to the child class it can access only parent variables and some overidden methods
@@sridharkarri4434 so what it means when we created aj object of a class and different refrence of class?
@@vipulthapliyal5464 This possible when B class is child of A;
suppose we have create class named as Animal and then cat class extends Animal class
so cat is bascially what is Animal
so we can write Animal c1=new Cat();
c1 is type of Animal but it is object of Cat class
@@informationtechtips5391 ok thanks sir
Sir so object is the output we get??
No, object is an instance of a class. An object can define some properties/variables and use some methods AKA functions
Don't Objectify me sir i am not a object
In java bro
😂😂😂
😂😂
😂😂😂
0:27 🤣
Hello sir....make a video on how to dance
😢
XD
In fact human thinking is object oriented 😅
24.05.24.10.07
how to handle the pressure during a interview
Learn perfectly and u should feel u know all concepts and even u don't know some concepts u should feel the same then only u can overcome from that fear
.
...
Everything is an object, even women ?