SINGLE INHERITANCE WITH EXAMPLE - JAVA PROGRAMMING
ฝัง
- เผยแพร่เมื่อ 27 ก.ย. 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
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🫡
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.
Thank you so much sir, for such clear explanation. This video will help me in my exam today!
#Thank you sir !!
Clearly explained sir..thank you so much❤️❤️
THANK YOU AND ITS CLEAR INSTRCTIONS
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??
This sir is a GEM. Absolute boss.
New subscriber,,, i should miss non from now
Nice teaching 👌
Thank you sir. Clear explanation for understanding
Wow sir what a beautiful explanation ❤️
Thankyou Sir.
Sir the way you teach is the best ,you are very good.
Thanks for this video its help me alot about in my report
Thank you very much sir 😊
Concept clear in this vidio tq sir
Super good very nice
Cool This guy deserves our praise!
Ur really amazing sir
Good explanation thank you
Veryyyy useful. Tq sir.
I had understand it easily
really awesome sessions....
Very Good content really awesome content
Great Explanation
Keep it up sir. Thanks alot
now your subscribers is 456k congratulations
Sir.,plz upload getter and setter methods. Ur way of teaching is very helpful to me..
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
Tq sir
Thanks much very helpful
sir!can I write the same program using dynamically i.e, using a scanner(by giving a and b values at the run time)
thankyou sir for the videos
❤️
Thank you for helping us ##begginers
It's been one year... How you are handling inheritance now?
sir can we access the private data members through the object of child class
Sir in the example if u want to print parent then why have declared as in a ? instead of string
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
Very good teaching
Brilliantly explained👍💕
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 will you please make a video on this keyword when we used it in constructors and methods
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 .
Thanks very much
Your explanation is easy to understand...
Well explained sir👍
great explaination sir!
:-)
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. Thank you very much
Sir please explain examples programs OOPS concepts
Do you have udemy courses?
thanks sir 👍
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...
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
God👍
👍👍👍👍👍👍👍👍
Sir this video will help in my exam? Please reply sir
where do we use inheritance
Hats off 👍
Sir please upload setter and getter methods
Sir , why do we take String args[] inside void main ?
for command line argument
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 in last inheritance class in case showing the parent class don,t we have to creat new obj
Sir! Can you post the Object Clonning topic ...?
Sir superclass kyo nahi use kiya
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 can u make more video on java programming
Clearly explained sir
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
ISC CLASS 12TH????????
Sir CAN YOU TELL US AN "IOT "CLASSES.
I have a problem in inheritance
what is it
android developing sir
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
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
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
Nice explanation sir 🙏🏼
That's good Sir.
good explanation. Tq
thanku 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
Sir can u please tell us Nested classes...
Sir can you please make a video in oops concept interview based programs not theory only programs sir
Sir telugu lo cheppandhi
Sir can u make one more tutorial on android developing plz sir
Try to buy big board it is not clearly visible
while running the programme error is coming.
Hi
Send the code to askme.selflearning@gmail.com
Sir u r a good teacher
cant load main class
Good explanation from you sir, very thankful to you🤝🤝
Sprr sir
good video
Nice one
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