SINGLE INHERITANCE WITH EXAMPLE - JAVA PROGRAMMING

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • INHERITANCE - JAVA PROGRAMMING
    #javatutorials, #javalectures, #inheritanceinjava
    Subscribe
    / @sundeepsaradhi
    ----------------------------------------------------------------------------------------------------------------
    CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS
    • CORE JAVA TUTORIAL FOR...
    PYTHON PROGRAMMING FOR BEGINNERS (ENGLISH)
    • WANT TO LEARN PYTHON? ...
    PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)
    • Python in One Shot(తెల...
    PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)
    • PYTHON - OOPS CONCEPTS...
    PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU
    • PYTHON NUMPY TUTORIAL ...
    PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE
    • PYTHON PANDAS TUTORIAL...
    MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)
    • MATPLOTLIB LIBRARY - P...
    PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL
    • PYTHON DATABASE CONNEC...
    DATA STRUCTURES USING PYTHON (ENGLISH)
    • DATA STRUCTURES USING ...
    DevOps
    studio.youtube...
    R PROGRAMMING
    studio.youtube...
    HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS
    • HTML TUTORIALS WITH IM...
    LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS
    • LEARN CSS IN 3 HOURS |...
    JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT
    • JAVA SCRIPT FOR BEGINN...
    XML (eXtensible Markup Language)
    • XML (eXtensible Markup...
    OPERATING SYSTEM
    • OPERATING SYSTEM
    ETHICAL HACKING
    • Video
    VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX
    • VI EDITOR BASICS IN LI...
    HOW TO DOWNLOAD & INSTALL MySQL IN WINDOWS 10
    • HOW TO DOWNLOAD & INST...
    DATABASE MANAGEMENT SYSTEM
    • DATABASE MANAGEMENT SY...
    PYTHON PROGRAMS
    • PYTHON PROGRAMS
    C PROGRAMMING
    • 01 - VARIABLES & CONST...
    ----------------------------------------------------------------------------------------------
    Instagram : / sundeepsaradhikanthety

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

  • @raviroybhumihar7738
    @raviroybhumihar7738 3 года назад +70

    Sir I ain't know Java Programming just for Interview sake I came to learn OOPS concepts.. Your teaching for basics were too good.. I understood each nd everything. Thank-you very much.🙏🏻

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

      Which interview bro
      Did u got selected??

  • @kalyanboddeda9343
    @kalyanboddeda9343 4 года назад +20

    I am studying diploma of cme group, By this lock down I have forgotten all the syllabus but by your videos again we are getting revision thank you so much Sir 😇and explained very well 😊

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

    Cristal Clear Explanation and on Points Sir. Salute for you🫡

  • @meenankminnu816
    @meenankminnu816 3 года назад +6

    Thank you so much sir, for such clear explanation. This video will help me in my exam today!

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

    Sir good evening, I am from Electrical background.but, I have 1% knowledge of java . I am watching yours videos .from this video I have easily known about what is oops?, what is static class? and I am liking your ways to show how to work the program. I wrote this comment after watch your video.

  • @RahmaDaud-zo6cy
    @RahmaDaud-zo6cy 5 месяцев назад

    I don't know how to thank more than "thank you"
    but you deserve thousand times.
    Sometimes when when you are saying "Hope you understood" 🥰 i see my self replying "YESSS 100%"
    THANK YOU SIR YOU ARE THE BEST

  • @4258MK
    @4258MK 2 года назад +2

    #Thank you sir !!

  • @Me0w_Meaw
    @Me0w_Meaw 11 месяцев назад

    This sir is a GEM. Absolute boss.

  • @tthamil
    @tthamil 2 года назад +1

    THANK YOU AND ITS CLEAR INSTRCTIONS

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

    New subscriber,,, i should miss non from now

  • @prathimagj8526
    @prathimagj8526 2 года назад +1

    Nice teaching 👌

  • @saaaondowuesemathias9407
    @saaaondowuesemathias9407 3 года назад +1

    That's good Sir.

  • @sushilasapkota3391
    @sushilasapkota3391 5 лет назад +1

    Sir the way you teach is the best ,you are very good.

  • @Dinesh-tb6nt
    @Dinesh-tb6nt 4 года назад +4

    Clearly explained sir..thank you so much❤️❤️

  • @iuriigorbaniuk3248
    @iuriigorbaniuk3248 2 года назад

    Cool This guy deserves our praise!

  • @dhimanroy6002
    @dhimanroy6002 2 года назад +1

    Thankyou Sir.

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

    Super good very nice

  • @AmongUs-qt3uo
    @AmongUs-qt3uo Год назад

    Wow sir what a beautiful explanation ❤️

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

    good explanation. Tq

  • @preethichamarthi7325
    @preethichamarthi7325 4 года назад +1

    Sir.,plz upload getter and setter methods. Ur way of teaching is very helpful to me..

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

    Great Explanation

  • @mohanyadav9698
    @mohanyadav9698 2 года назад +1

    Tq sir

  • @akshatabani8927
    @akshatabani8927 3 года назад +1

    Ur really amazing sir

  • @MuhammadAsim-sk3pg
    @MuhammadAsim-sk3pg Год назад

    Good explanation thank you

  • @vasaripraveenreddy5268
    @vasaripraveenreddy5268 3 года назад +3

    sir actually in c++ initialization of class members(like variable int a=10) directly in class is not allowed as it is against data hiding concept .how is it possible in java

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

    really awesome sessions....

  • @kousalyapotnuru5802
    @kousalyapotnuru5802 2 года назад +1

    Sir I have a question that to access instance variable value we are using this keyword in this .And also to access instance variable we use object then what is the need of this keyword again simply code complexity reduces when we create object

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

    Concept clear in this vidio tq sir

  • @mohammadusman9685
    @mohammadusman9685 2 года назад +1

    Thank you very much sir 😊

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

    Thank you sir. Clear explanation for understanding

  • @chinigepallieswarsaikumar7588
    @chinigepallieswarsaikumar7588 3 года назад

    Very Good content really awesome content

  • @michaelnurbangon2356
    @michaelnurbangon2356 5 лет назад +1

    Thanks for this video its help me alot about in my report

  • @Sniper__prince
    @Sniper__prince 2 года назад

    now your subscribers is 456k congratulations

  • @charangummadi6863
    @charangummadi6863 2 года назад +1

    ❤️

  • @umamaheshpilla4951
    @umamaheshpilla4951 3 года назад

    Good explanation from you sir, very thankful to you🤝🤝

  • @AnushaS-ct5ff
    @AnushaS-ct5ff 4 года назад

    Veryyyy useful. Tq sir.
    I had understand it easily

  • @michaelnurbangon2356
    @michaelnurbangon2356 5 лет назад +2

    Keep it up sir. Thanks alot

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

    thanku sir

  • @ruthidevaguptapu4677
    @ruthidevaguptapu4677 4 года назад +7

    sir!can I write the same program using dynamically i.e, using a scanner(by giving a and b values at the run time)

  • @ridewithuday203
    @ridewithuday203 5 лет назад +1

    Sir u r a good teacher

  • @princejain6569
    @princejain6569 4 года назад +2

    Hello Sir,
    why are you creating third class i.e Inherit to write the main method ..Can't We write main method inside Child class only ?

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

    Sir in the example if u want to print parent then why have declared as in a ? instead of string

  • @anuvin8924
    @anuvin8924 3 года назад

    Thanks much very helpful

  • @naveenbala4140
    @naveenbala4140 3 года назад +1

    why you using child word inside public static void main direclty put just c .....and i had another doubt what is the difference between void and public static void main

  • @bananitutorial8579
    @bananitutorial8579 4 года назад

    Very good teaching

  • @tabithabathina3828
    @tabithabathina3828 3 года назад

    thankyou sir for the videos

  • @naveenkommineni6101
    @naveenkommineni6101 4 года назад +4

    Sir, directly we can write the main method in child class and we can access the parent class with objects. why should we create new class for main method ( Class Inherit)

    • @mickyman753
      @mickyman753 3 года назад

      sir wanted to show everything in a sorted separate way ,yes we could create main in child class and use the child class objects for accessing the parent methods .

  • @saiharshapingali7577
    @saiharshapingali7577 2 года назад +1

    sir can we access the private data members through the object of child class

  • @kousalyapotnuru5802
    @kousalyapotnuru5802 2 года назад +1

    Sir will you please make a video on this keyword when we used it in constructors and methods

  • @KaisarAnvar
    @KaisarAnvar 2 года назад +1

    Do you have udemy courses?

  • @abhijitmondal9203
    @abhijitmondal9203 4 года назад +10

    Hi Sir,
    Could you please let me know why Multiple Inheritance and Hybrid Inheritance are not possible in java directly?

  • @challamanikishor6283
    @challamanikishor6283 4 года назад +1

    Sir please explain examples programs OOPS concepts

  • @s.shivaanishri3939
    @s.shivaanishri3939 Год назад

    👍👍👍👍👍👍👍👍

  • @josephnganga6387
    @josephnganga6387 5 лет назад +2

    Thank you for helping us ##begginers

    • @vinnavanarul2503
      @vinnavanarul2503 3 года назад

      It's been one year... How you are handling inheritance now?

  • @Daulathunnisa
    @Daulathunnisa 3 года назад

    Brilliantly explained👍💕

  • @jagadeeshkommata1307
    @jagadeeshkommata1307 3 года назад

    Sir this video will help in my exam? Please reply sir

  • @anagondiobulesu9932
    @anagondiobulesu9932 2 года назад

    Sprr sir

  • @SaranSuhas
    @SaranSuhas 5 лет назад

    Your explanation is easy to understand...

  • @programmer649
    @programmer649 3 года назад +5

    sir if we declared a same variables names in two classes then how can we access super class variable in sub class

    • @vinnavanarul2503
      @vinnavanarul2503 3 года назад

      Answer is in other commands... Pls read other command too...

  • @nidhinthedon886
    @nidhinthedon886 3 года назад

    good video

  • @preethichamarthi7325
    @preethichamarthi7325 4 года назад

    Well explained sir👍

  • @2sridurga354
    @2sridurga354 3 года назад +2

    Can we create a object for parent class and can we access the variables and methods of child class through the object created for parent class...?

  • @musthashaik3355
    @musthashaik3355 4 года назад +2

    instead of giving different variable names like a,b . if I gave same a,a then subclass and parent class values will different r same

    • @vinnavanarul2503
      @vinnavanarul2503 3 года назад

      Yeah... Please explain... I have the same doubt

    • @vinnavanarul2503
      @vinnavanarul2503 3 года назад

      Answer is in other command... Pls read other commands also

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

      different as the scope of var will be over once we go outside the class

  • @rohanrede7003
    @rohanrede7003 4 года назад

    great explaination sir!
    :-)

  • @seelamjhansisri9478
    @seelamjhansisri9478 4 года назад +1

    Sir can u please tell us Nested classes...

  • @fahadfadhu0413
    @fahadfadhu0413 3 года назад

    God👍

  • @bananitutorial8579
    @bananitutorial8579 4 года назад

    Thanks very much

  • @iranna95
    @iranna95 5 лет назад +1

    Sir can u make one more tutorial on android developing plz sir

  • @askhere373
    @askhere373 3 года назад

    thanks sir 👍

  • @surabhi2007
    @surabhi2007 3 года назад +1

    hello Sir, your videos are very explanatory. I have a question.. I have used same method name in parent as well as child class . So it did not give me any error, but how can i access the method in parent class in this case?

    • @tusharmehra3867
      @tusharmehra3867 3 года назад +1

      Because in this case what u did is overwrite that method.. u can do this in any child class like there is a person class as parent class and then for child class u create 2 classes singer and dancer.. now in parent class u declare person is walking and then in both child class u can access this but if in 1 class u dont want to access this one and want something like singer cant walk so for only this particular child class u can create a method( in this child class named singer)with the same name as walking method in parent class and make modifications specific to this class...it wont apply to other classes..so thats y it is working.. correct me if i m wrong

  • @subhamroul6099
    @subhamroul6099 4 года назад

    Sir in last inheritance class in case showing the parent class don,t we have to creat new obj

  • @Cricfever99
    @Cricfever99 5 лет назад +1

    Hats off 👍

  • @sheendarlin
    @sheendarlin 4 года назад +1

    Great. Thank you very much

  • @manasagolakoti2194
    @manasagolakoti2194 3 года назад

    Sir can you please make a video in oops concept interview based programs not theory only programs sir

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

    where do we use inheritance

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

    Sir superclass kyo nahi use kiya

  • @nandhinivaradharajan8832
    @nandhinivaradharajan8832 3 года назад

    Sir! Can you post the Object Clonning topic ...?

  • @iranna95
    @iranna95 5 лет назад

    Sir can u make more video on java programming

  • @josephnganga6387
    @josephnganga6387 5 лет назад

    Nice one

  • @tanushsathiyaseelan9428
    @tanushsathiyaseelan9428 3 года назад

    Sir please upload setter and getter methods

  • @jayant4532
    @jayant4532 4 года назад

    ISC CLASS 12TH????????

  • @khadgashrestha144
    @khadgashrestha144 2 года назад +1

    why you using Display in parent and show in child class ? can we use display instead of show and display in show??

    • @riwmi2302
      @riwmi2302 2 года назад

      These are just variable names, they could be any word.
      If I did not get that correctly, the whole concept of this video is inheritance (passing on something in this case variables and methods), with the use of the "extends" keyword, it is possible for the child class to inherit variables and methods from the parent class, that is only possible for the child class, the parent class can not get this feature.

  • @ishanbarma300
    @ishanbarma300 4 года назад +1

    Sir , why do we take String args[] inside void main ?

  • @nagavenkataprakash4837
    @nagavenkataprakash4837 4 года назад

    Try to buy big board it is not clearly visible

  • @rtadwq...------...----.
    @rtadwq...------...----. 4 года назад

    Clearly explained sir

  • @satyadodda2386
    @satyadodda2386 4 года назад +2

    Resulting an error that cant find main(string[])method in class p
    Can u plss solve it sir

    • @sundeepsaradhi
      @sundeepsaradhi  4 года назад +3

      Hi
      Save the file with classname in which you have written main function

    • @satyadodda2386
      @satyadodda2386 4 года назад +2

      @@sundeepsaradhi tq sir

    • @manmathrath9121
      @manmathrath9121 3 года назад +1

      @@sundeepsaradhi sir i have saved the file with class name in which i have written main function but still showing same error.can you plz solve this sir

  • @smrutisingh9619
    @smrutisingh9619 4 года назад +6

    while running the programme error is coming.

    • @sundeepsaradhi
      @sundeepsaradhi  4 года назад

      Hi
      Send the code to askme.selflearning@gmail.com

  • @yeserusreekanth2661
    @yeserusreekanth2661 5 лет назад +1

    Sir CAN YOU TELL US AN "IOT "CLASSES.

  • @parveentaj5745
    @parveentaj5745 3 года назад

    While I'm running the code it is showing that couldn't find or load main class

    • @RamYashodha
      @RamYashodha 3 года назад +1

      Meeru e folder lo save chesaro check chesi a folder lo ne command prompt open cheyandi appudu as error radhu

  • @rsvlogs8709
    @rsvlogs8709 3 года назад

    cant load main class

  • @bitsdsmj45
    @bitsdsmj45 5 лет назад

    android developing sir

  • @SameerShah-go5ol
    @SameerShah-go5ol 5 лет назад

    I have a problem in inheritance

  • @kampeshree7546
    @kampeshree7546 5 лет назад +4

    Sir telugu lo cheppandhi

  • @mukulpandey8555
    @mukulpandey8555 4 года назад

    Sir u are creating class object c outside the brackets of of child class using its name .. how is this possible outside child class to create a object of child class..
    ..
    Plz help