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
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.🙏🏻
Which interview bro
Did u got selected??
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 😊
Cristal Clear Explanation and on Points Sir. Salute for you🫡
Thank you so much sir, for such clear explanation. This video will help me in my exam today!
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.
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
#Thank you sir !!
This sir is a GEM. Absolute boss.
THANK YOU AND ITS CLEAR INSTRCTIONS
New subscriber,,, i should miss non from now
Nice teaching 👌
That's good Sir.
Sir the way you teach is the best ,you are very good.
Clearly explained sir..thank you so much❤️❤️
Cool This guy deserves our praise!
Thankyou Sir.
Super good very nice
Wow sir what a beautiful explanation ❤️
good explanation. Tq
Sir.,plz upload getter and setter methods. Ur way of teaching is very helpful to me..
Great Explanation
Tq sir
Ur really amazing sir
Good explanation thank you
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
really awesome sessions....
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
Concept clear in this vidio tq sir
Thank you very much sir 😊
Thank you sir. Clear explanation for understanding
Very Good content really awesome content
Thanks for this video its help me alot about in my report
now your subscribers is 456k congratulations
❤️
Good explanation from you sir, very thankful to you🤝🤝
Veryyyy useful. Tq sir.
I had understand it easily
Keep it up sir. Thanks alot
thanku sir
sir!can I write the same program using dynamically i.e, using a scanner(by giving a and b values at the run time)
Sir u r a good teacher
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 ?
Sir in the example if u want to print parent then why have declared as in a ? instead of string
Thanks much very helpful
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
Very good teaching
thankyou sir for the videos
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)
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 .
sir can we access the private data members through the object of child class
Sir will you please make a video on this keyword when we used it in constructors and methods
Do you have udemy courses?
Hi Sir,
Could you please let me know why Multiple Inheritance and Hybrid Inheritance are not possible in java directly?
Due to ambiguity problem
@@nerellasrivyshnavi9068 nice timing
Multiple inheritance doesn't not support directly , for this we can use interface concept
Sir please explain examples programs OOPS concepts
👍👍👍👍👍👍👍👍
Thank you for helping us ##begginers
It's been one year... How you are handling inheritance now?
Brilliantly explained👍💕
Sir this video will help in my exam? Please reply sir
Sprr sir
Your explanation is easy to understand...
sir if we declared a same variables names in two classes then how can we access super class variable in sub class
Answer is in other commands... Pls read other command too...
good video
Well explained sir👍
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...?
No
No
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
Yeah... Please explain... I have the same doubt
Answer is in other command... Pls read other commands also
different as the scope of var will be over once we go outside the class
great explaination sir!
:-)
Sir can u please tell us Nested classes...
God👍
Thanks very much
Sir can u make one more tutorial on android developing plz sir
thanks sir 👍
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?
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
Sir in last inheritance class in case showing the parent class don,t we have to creat new obj
Hats off 👍
Great. Thank you very much
Sir can you please make a video in oops concept interview based programs not theory only programs sir
where do we use inheritance
Sir superclass kyo nahi use kiya
Sir! Can you post the Object Clonning topic ...?
Sir can u make more video on java programming
Nice one
Sir please upload setter and getter methods
ISC CLASS 12TH????????
why you using Display in parent and show in child class ? can we use display instead of show and display in show??
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.
Sir , why do we take String args[] inside void main ?
for command line argument
Try to buy big board it is not clearly visible
Clearly explained sir
Resulting an error that cant find main(string[])method in class p
Can u plss solve it sir
Hi
Save the file with classname in which you have written main function
@@sundeepsaradhi tq sir
@@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
while running the programme error is coming.
Hi
Send the code to askme.selflearning@gmail.com
Sir CAN YOU TELL US AN "IOT "CLASSES.
While I'm running the code it is showing that couldn't find or load main class
Meeru e folder lo save chesaro check chesi a folder lo ne command prompt open cheyandi appudu as error radhu
cant load main class
android developing sir
I have a problem in inheritance
what is it
Sir telugu lo cheppandhi
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