Advance Java OOPs Concepts Tutorial | Java Developer Series - by Coding Wallah Sir
Vložit
- čas přidán 7. 08. 2024
- We will learn Advance Java OOPs Concepts Tutorial with including Java OOPs Interview Questions
This OOPs in java video will be the first video on the CZcams ever in the history in which every this is present for beginners to placement point views.
Please Watch First Part before link is in comment section.
and please watch full video without skipping by adjusting the speed accordingly.
00:00 Intro
00:10 Don't Skip (Need to understand this thing).
00:57 Please Don't Abuse (I know how to teach).
01:34 Continue from Part1 where we left.
01:58 What is Inheritance in Java with Example.
03:04 Multilevel Inheritance in Java with Real life Example
03:41 Single Level Inheritance in Java with Real life Example.
04:13 Multiple Inheritance in Java with Real life Example.
05:13 Hierarchal Inheritance in Java with Real Life Example.
05:29 Hybrid Inheritance in Java with Example.
05:40 Multiple Inheritance in Java?
07:35 Implementation of Inheritance in Java (CODE).
19:05 Let's Summarize Again all pillars of OOPS in Java from Part 1.
19:42 What is Polymorphism in Java with Real Life Example.
23:35 Implantation of Polymorphism in Java (CODE).
27:51 Types of Polymorphism in Java OOPS.
28:58 Rules to Remember for implementing polymorphism.
33:36 Assignment on Polymorpishm.
35:03 Mostly Asked Interview Questions of OOPs in Java.
44:02 All Assignments by using all concepts of oops in Java.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
🙋🏼♂️Hello All Kaise Ho Sare ❓
Welcome to my CZcams channel Coding Wallah ❤️
🎦Video Kaise lagi any feedback to improve ❓
🙏🏼PLEASE COMMENT YOUR VALUABLE FEEDBACK 💬
𝙈𝙤𝙧𝙚 𝘾𝙤𝙣𝙩𝙚𝙣𝙩
📚 Java Tutorial for Beginners in Hindi = 🔎 • Java Tutorial for Begi...
🌟 Star Patterns in Java =🔎 • Star Pattern Programs ...
👨💻 Java Full Stack Developer Series = 🔎 • JAVA Developer Series ...
📖 OOPs in Java =🔎 • OOPs Concepts in Java ...
👨💻 Exception Handling in java = 🔎 • Exception Handling in ...
❤️ 10 Min Tutorials = 🔎 • Explain in 10 Mins 🔥
🔥 DSA Old Playlist = 🔎 • DSA + Mostly Asked Int...
🚀 Personal Tips + Roadmaps = 🔎 • Guidance - By Coding W...
W𝙖𝙣𝙩𝙨 𝙩𝙤 𝙨𝙪𝙥𝙥𝙤𝙧𝙩 𝙢𝙚 💖
𝐏𝐫𝐚𝐲𝐞𝐫s = 1 𝑳𝑰𝑲𝑬 for my Video
𝐒𝐮𝐩𝐩𝐨𝐫𝐭 = 𝙎𝙃𝘼𝙍𝙀 with your friends
𝐅𝐞𝐞𝐝𝐛𝐚𝐜𝐤= U can comment here
𝐌𝐨𝐭𝐢𝐯𝐚𝐭𝐢𝐨𝐧 = 𝙎𝙐𝘽𝙎𝘾𝙍𝙄𝘽𝙀 𝙎𝙐𝘽𝙎𝘾𝙍𝙄𝘽𝙀
Social Medial Accounts For Contact and Help 💖
❤️Instagram ( Updates )- / codingwallahsir
📝Telegram ( Notes or Pdf ) - t.me/CodingWallahSir
🐶Twitter - / codingwallah
🙋🏼♂️Facebook - / codingwallah
𝙃𝙖𝙨𝙩𝙖𝙜𝙨
#javaprogramming #javatutorial #codingwallah #learncoding
Hi Everyone,
Please First part pehle dekhna OOPS video ka 🧑🏼💻 - czcams.com/video/wyovxX6ZuGg/video.html
Tabhi cheeze smaj ayegni vrna Bouncers Jayengii kuch kuch 😅
And please comment your valuable feedback. How much you're loving my video.
If you have any doubt don't be shy, please drop into comment. I'll definitely reply to you.
First time I got all the OOPs concepts cleary.
Thank you sir
Great 👍, thanks for your valuable feedback tisha
Aapke jaisa bahut kam teacher milte h you tube me❤️❤️❤️❤️ ,other teachers of you tube makes lazy us. Because the teachers do all works for students
In college it was boring
But you made me interesting to learn💯💯
Understood all the concepts sir make my own hand written notes thank you sir for these great lecture.
Now i have no prob in oop concept.
this playlist very help full. i got clear all my concepts of oops. thank you sir, always come with like this energtic videos
sir aapke bina bole hi maine first part me notes bana liye
matlb aapne hi itna acha samjhaya khud ba khud notes banane ka man kar gya
or jo log aapko kuch bhi ulta sidha keh dete ho unko khud seriously ni lena....
If u don’t mind share notes with me kindly boss
@@sanaullahabbasi5723 First, let me find where I kept the notes because it's been 8 months since then.
@@18.sandeepsikdar43 well boss love u 😚😊
Hi sir if it is possible for you please try to upload springboot tutorials as well it is much needed tutorial you explaination is crystal clear and to the point.
Ok I will try
@@CodingWallahSir yes sir I also want springboot turorial like your all vedios with explanation. You explain very well thanks
Great Sir now I am confident in OOPS
Great, I can't believe such typ of content is available freely 🗿🕊️
Thankyou so much sir
Aapkye video kye wajhse oops k sera concepts clear ho gaya 👍and sir aapse request hai ki aap spring boot ki tutorial provide kare
Sir, please upload Springboot tutorial..
Your teaching technique is too helpful for me..
Great sir
Amazing explanation
This is the best course on CZcams ❤
One of the best videos I have ever watch on OOPS
Nice Explanation Bhaiya Ji😃
so good sir
best studay in youtube
Sir ur great 😃👍
Nice sir
!!!
Sir, Abb OOP's Dimaag se nahi, Dimaag me Clear Ho Gaya Hai😅❤
Thank You So Much Sir, Apke ki Vajah se Mera Confidence Build Huva hai🥺.
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
its is good
great sir 🙏🙏🙏🙏🙏🙏🙏
thank u so much sir.... way of teaching is awesome ...
Thanks and welcome
Best Ever❤ Sirrrr ji bs Abstraction ka Funda proper nhi hua baki sb first class
👍👍👍👍great👏👏👏👏👏👏👏👏excellent explaination
Thank you! 😃 karishma again for your feedback, keep learning - best of luck
Mst ❤
Sir Android development ki series start Karo Projects k sath
Your teaching skill is very nice sir
Thanks and welcome
thanks for making the videos bhai, bhai Diamond shape problem ke bareme bathaooo...
already video bana rakhi h please check playlist or one shot video
thankyou sir
Your teaching skill is very nice sir... 🙌
Thanks kailash and welcome to our coding community please join our discord server also.
Thank you sir❤
hii sir ...ur content is very good. can u make vedio on i/p steram or file handling in java
Will try, thanks for your feedback
hello sir wo jaise web applicaton banate hai waise GUI banana hai kya
Question no.10: Sir constructor is inherited from base class because we are reusing that in base class by calling super method.
As we are importing Mypackage.Myclass;
but defined our inheritance in other class inside Mypackage folder not in Myclass?
sir class value hold nhi krti hain toh static variable ko bina object ke access krte hai is case me value ko kon hold krta hai?
Sir we can also able to create main method in Run Class.
My notes on entire Oops.
////OOPs=oops is an object oriented programming system there are 4 pillars of oops 1.encapsulation 2.abstraction 3.inheritance 4.Polymorphism.
////1. Encapsulation :- Wrapping data and members in single module and hide data using private modifier is called as Encapsulation
//class Bank{
// private String name="customer1";
// private int phno=555555;
// void info() {
// System.out.println(name+" "+phno);
// }
// String getname() {
// return name;
// }
// int getph() {
// return phno;
// }
// void setname(String x) {
// this.name=x;
// }
//}
//
//class Oops{
// public static void main(String[] args) {
// Bank b=new Bank();
// b.setname("Bharat");
// System.out.println(b.getname());
// }
//}
////2. Hiding internal implementation and featuring some set of services is called as Abstraction child class is responsible to provide implemantation.
////there are two ways to achieve abstraction 1. Abstract class 2.interface.
////1. Abstract class :-abstract class contain abstract and non abstract methods,we can create abstract class constructor but not object.
//abstract class God{
// public abstract void human();
// public abstract void animal();
// public abstract void plants();
// public void otherthings() {
// System.out.println("God create many more things");
// }
// God (){
// System.out.println(" i am the creator and destroyer ");
// }
//}
//class Earth extends God{
//
// public void human() {
// System.out.println("God created men and women");
// }
//
// public void animal() {
// System.out.println("God created animal like dog,cat...");
// }
//
// public void plants() {
// System.out.println("God created plants ");
// }
//}
//class Oops{
//public static void main(String[] args) {
//
// Earth e=new Earth();
// e.human();
// e.animal();
// e.plants();
// e.otherthings();
// }
//}
////2.interface:-an interface contain only abstract methods ,we can't create constructor and objects of interfaces. by default all methods in interface is public abstract.
//interface God{
//public abstract void human();
//public abstract void animal();
//public abstract void plants();
//}
//
//class Earth implements God{
// public void human() {
// System.out.println("God created men and women");
// }
// public void animal() {
// System.out.println("God created animal like dog,cat...");
// }
// public void plants() {
// System.out.println("God created plants ");
// }
//}
//class Oops{
// public static void main(String[] args) {
// Earth e=new Earth();
// e.human();
// e.animal();
// e.plants();
// }
//}
////3.Inheritance:- Inheritance is nothing but inheriting parent class properties in child class there are 5types of inheritance
////1.single level 2. Multi-level 3.multiple 4.Hierarchical 5.Hybrid Inheritance.
////1. single level
//class Dad {
// String name="Malji";
// String surname="chandra";
//}
//class Me extends Dad{
// String name="Bharat";
//}
//class Oops{
// public static void main(String[] args) {
// Me m=new Me();
// System.out.println(m.name);
// System.out.println(m.surname);
// }
//}
//2. Multi level
//class Grandfather{
// String name="dayalji";
// String surname="Chandra";
//}
//class Dad extends Grandfather{
// String name="Malji";
//
//}
//class Me extends Dad{
// String name="Bharat";
//}
//class Oops{
// public static void main(String[] args) {
// Me m=new Me();
// System.out.println(m.name);
// System.out.println(m.surname);
// }
//}
////3.Hierarchical
//class Mom{
// String name="Kamla";
// String surname="Gori";
//}
//class Me extends Mom{
// String name="Bharat";
//}
//class Sister extends Mom{
// String name="foram";
//}
//class Oops{
// public static void main(String[] args) {
// Me m=new Me();
// System.out.println(m.name);
// System.out.println(m.surname);
// Sister s=new Sister();
// System.out.println(s.name);
// System.out.println(s.surname);
// }
//}
////4.Multipal
//class Dad{
// String name="Malji";
// String Surname="Chandra";
//}
//interface Mom{
// String name="kamla";
// String msurname="Gori";
//}
//class Me extends Dad implements Mom{
// String name="Bharat";
//}
//class Oops{
// public static void main(String[] args) {
// Me m=new Me();
// System.out.println(m.name+" "+m.Surname);
// System.out.println(m.name+" "+m.msurname);
// }
//}
////5.Hybrid
//class Dad{
// String name="Malji";
// String surname="Chandra";
//}
//class Me extends Dad {
// String name="Bharat";
//}
//interface B {
// String name="?";
//}
//class Son extends Me implements B{
// String name="??";
//}
//class Oops{
// public static void main(String[] args) {
// Son s=new Son();
// System.out.println(s.name);
// System.out.println(s.surname);
// }
//}
////4.Polymorphism:- There are two types of polymorphysm 1.Runtime 2.Compliletime
////1.Runtime polymorphysm:-method name and arguments both are same is called as runtime polymorphysm.it is also called as method over-riding.
//class A{
// public void m1() {
// System.out.println("class A method ");
// }
//}
//class B {
// public void m1() {
// System.out.println("class B method ");
// }
//}
//class Oops{
// public static void main(String[] args) {
// A a=new A();
// a.m1();
// B b=new B();
// b.m1();
// }
//}
////2.Compile time polymorphysm:-method name same but arguments are different this type of polymorphysm is called as runtime polymorphysm.it is also called as method over-Loading.
//class A{
// public int sum(int x,int y) {
// return x+y;
// }
// public float sum(float x,float y) {
// return x+y;
// }
//}
//class Oops{
// public static void main(String[] args) {
// A a=new A();
// System.out.println(a.sum(5, 5));
// System.out.println(a.sum(5.5f,4.5f));
// }
//}
Good, keep learning Jagdish, best of luck
Sir please make a video oops interview questions and answers.
don't worry shubham, the last chapter of video is Mostly Asked Interview Questions.
at 35:00
And yes I will also again create 50 asked interview questions on oops.
Sir please aap apne topics complete kr liya kro then homework diya kro ....jaha aap faste ho skip kr dete ho ...then hm sab bhi confused state me aa jate hai
Completed the video 😄 good for revision
SIR KYA CERTIFICATION KARNA JARURI HAI KYA mere pass jsp servlet aur hibernate ka certificate nahi hai but mene seekh rakha hai mene project bana rakhe hai
Sir agar humne koi chieez seekhe hai aur agar mere pass us chiz ka project ho toh certificate ki jarurat nahi hai na pls tell
Ha agar degree h or skills h or unko proof krne ke liye projects kafi h .
Is pr bhi me ek video banaunga yaad dilana next week , bacho ka bht loog kaat te h certification ke naam par.
Osam sir 😊😊
Thanks 😊 nikhil
very nice sir
Thanks 😊
Dekhne se pele hi comment kar deta hu aasha karte sabki tarah ye bhi bhadiya hi hoga 😂🎉🎉🎉❤
Nice sir
Thanks and welcome
ruby is a pure OOP language
Simula is a first OOP language & SmallTalk is pure OOP language.
sir plz upload Javascript and springboot tutorials
pehle ye jo shuru kia h step by step chalenge js or springboot bhi krenge no worries
Parent class mei kuch information bhejni ho child class se...
Is this possible in java?
---------------
Like i have to make a method in parent class to print a name+" "+surname.
But name is only available in child class how can i do it.
No it's not possible.
Inheritance always flows in Down the line same like real life.
How can be possible my dad inherit from me - Me to paida hi ni hua tha😅
Sir your telegram is not working which is linked on ur utube home page, btw sir i dont understand how to make projects, I have completed basic frontend, dom manipulation in js, I want to become java stack dev, the thing is java needs more attention and time, and I have to make a project for my final year in a month. In java, I have learnt core java, jdbc, my sql till now. What should I do?I have an idea of a personal portfolio doctor website where patients can book appointment, login register,, but how can I complete it in a month using java? If i give too much time on fundamentals, then I am unable to give time to my clg project, if i directly do something for my prject, I dont understand things as my fundamentals are not cleared. What should I do sir?Is there any way we can connect with you for guidance ? I have made a basic responsive design from basic html css as well. I saw ur roadmap video as well, I want to become a programmer and not a coder, I want to make my fundamentals strong, but then when I do so, I cant give time to my prject and clg.
See for final year projects please go with the MERN stack app ( learn server side javascript using nodejs and make project in it , javascript me easy h chezze implement krna ) and java ko continue rakho with DSA
@@CodingWallahSir okayy sir, thank u
Why multiple inheritance is not supported?
can we get the notes?
Sir dsa in java ke upar baki ke sbhi part kro na line searches vaigara graph trees or bhi bahoot kuch hai oo sikhna hai aapse sir plzz
Hi sahil, ha me karta hu abhi thoda bache a jaye or active becoz koi dekhta nahi h then youtube garbage smaj leta h and fir recommend nahi krta so me thoda wait kr rha hu 10k tak tab ek course launch krunga if possible
31:19 CZcams did bhaiya 🤣🤣IYKYK
interface f1{
String name = "kumarapa";
int prop = 5;
}
interface m1{
String name = "kumari";
String surname = "valikar";
int prop = 25;
}
class son implements m1, f1 {
String name ="nagaraj";
int prop = m1.prop+f1.prop;
}
class run{
public static void main(String[] args) {
son r = new son();
System.out.println(r.prop);
}
}
is this code correct for accessing father and mother property using interface Any one tell me?
My package 42 lakh
❤
sir sab ane ke bad bhi placement nhi ho rha
😀Ye bhaiya Jo 'bhaiya aur didi' ki baat karte hai kahi ye vo..... To nahi🤔
sir ek doubt aya 11:01 pe program kyu nahi chala? i did not understand it plz explain
agar default access modifier ho to class ka naam or package ka naam same hona chaie( Could not find or load main class error ayega ). agar vaha public laga dete to program run ho jata.
Thanks Jagdish, good 👍 ese hi ek community banti h
Why java won't provide multiple inheritance but python provide multiple inheritance,
Python easily handle ambiguity problem in multiple inheritance, so why java people don't implement this feature as well
CZcamsr bhaiya and didi ko roast karna permanent 😂
(Didi ke pass java padhne wale student 🤡)
Sir ye didi se moraad kon hy?
java class zero level se padhayea sir
Yes jayesh, video channel par mil jayegi ek baar visit karo channel.ishi month upload ki h
Sir C# se nafrat hai kya aapko uske bhi tutorial do ?
Will do shubham, thoda time lagega
@@CodingWallahSir Thanks, will be waiting for it.
yeh GURU TOH KARN KO BHI CORDING kar de🙏🙏
❤️❤️
Sir there is one mistake in you teaching we can't achieve method overloading by changing method return type.
Galli ke kutte -physics wallah things😂
Not satisfied sir with respect my offline teachers are quite good