#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
  • НаукаНаука

Комментарии • 37

  • @wilwill6826
    @wilwill6826 6 месяцев назад +9

    I subscribed this month. I am starting to see a pattern with Head First Java. Great training, Sir!

  • @polytrave
    @polytrave 6 месяцев назад +11

    i have a test tomorow about this. thank you for explaining!

  • @user-ty8xt1dj3i
    @user-ty8xt1dj3i 5 месяцев назад +3

    one of the best lecture, having proper explanation. Thank you

  • @saieswar7701
    @saieswar7701 Год назад +11

    0:31 that hits hard

  • @Deepuarakatla
    @Deepuarakatla 11 месяцев назад +6

    Hello reddy sir...thank u for this series❤

  • @Mahi_Vasu_7
    @Mahi_Vasu_7 Год назад +14

    hi sir, please make a video based on core java interview questions for freshers pls........

  • @hrishikeshmukherjee813
    @hrishikeshmukherjee813 Год назад

    Thank you

  • @Mamthaaaaaa
    @Mamthaaaaaa Месяц назад +1

    Wow thank you sir

  • @zr0724
    @zr0724 Год назад

    tell us about framework in java

  • @sanketdevray4590
    @sanketdevray4590 5 месяцев назад

    Object is something which have state and behaviour that's it.....

  • @ramakrishnanalluri2547
    @ramakrishnanalluri2547 2 месяца назад

    thanks sir

  • @kapilvadher4935
    @kapilvadher4935 3 месяца назад

    Sir, you look like Leonard Hofstader 😎😎

  • @akshaygalande2318
    @akshaygalande2318 2 месяца назад

    What is present in the class file which is compliled

  • @vipulthapliyal5464
    @vipulthapliyal5464 Год назад +2

    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

    • @sridharkarri4434
      @sridharkarri4434 Год назад

      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

    • @vipulthapliyal5464
      @vipulthapliyal5464 Год назад +1

      @@sridharkarri4434 so what it means when we created aj object of a class and different refrence of class?

    • @informationtechtips5391
      @informationtechtips5391 Год назад +1

      @@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

    • @vipulthapliyal5464
      @vipulthapliyal5464 Год назад

      @@informationtechtips5391 ok thanks sir

  • @navinderwadhwa8444
    @navinderwadhwa8444 9 месяцев назад +2

    Sir so object is the output we get??

    • @NicholasYg
      @NicholasYg 9 месяцев назад

      No, object is an instance of a class. An object can define some properties/variables and use some methods AKA functions

  • @Welcome_to_reality.
    @Welcome_to_reality. Год назад +37

    Don't Objectify me sir i am not a object

  • @neocoretec
    @neocoretec Год назад +6

    0:27 🤣

  • @ajitdeshmukh6156
    @ajitdeshmukh6156 10 месяцев назад +1

    Hello sir....make a video on how to dance

  • @sanketdevray4590
    @sanketdevray4590 5 месяцев назад +1

    In fact human thinking is object oriented 😅

  • @adss5095
    @adss5095 Месяц назад +1

    24.05.24.10.07

  • @Mahi_Vasu_7
    @Mahi_Vasu_7 Год назад +1

    how to handle the pressure during a interview

    • @sivareddy412
      @sivareddy412 Год назад +2

      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

  • @ramakrishnanalluri2547
    @ramakrishnanalluri2547 2 месяца назад

    .

  • @ramakrishnanalluri2547
    @ramakrishnanalluri2547 2 месяца назад

    ...

  • @k_arsh_10
    @k_arsh_10 3 дня назад

    Everything is an object, even women ?