Java OOPs in One Shot | Object Oriented Programming | Java Language | Placement Course
Вставка
- Опубліковано 26 вер 2024
- Are you worried about placements/internships? Want to prepare for companies like Microsoft, Amazon & Google? Join ALPHA.
🔴 Alpha Placement Batch - bit.ly/3ELJjn2
Notes to this lecture : docs.google.co...
🔥Java Placement Course : • Introduction to Java L...
🔥Complete C++ Placement Course (Data Structures+Algorithm) : • C++ Full Course | C++...
🔥Telegram: t.me/apnikaksh...
🔥Instagram: / dhattarwalaman
1. Encapsulation :- Wrapping up of data member (variables) and member function (method) together into a single unit called is known as encapsulation .
2. Abstruction :- It is the act of representung essential features of class without including the background details.
ex :- switch board , etc.
3. Polymorphism :- It is the ability of an object to behave in different form according to the message passed to it.
In java it is implimentes due to function ove loading
4. Inheritance :- It is the ability of an object to acquire the properties of another class.
overridding missed
can you explain why did she not use static keyword ,but she told in the oerior vedio that to call a function we need static keyword
@R2H fanpage thanks bro
And method overloading miss hai
@@moviesclips.....a.j3035 when you call same method with by same name by minor change by your own particular need thats call method overloading
00:00 Classes and Objects
13:10 Constructors Types of Constructors
21:10 POLYMORPHISM (Function overlaoding)
26:30 INHERITANCE
34:52 Packages
39:43 Access Modifiers
47:03 ENCAPSULATION
48:16 ABSTRACTION
57:04 Interfaces
01:01:22 Static Keyword
2X is too slow. Please youtube bring 5X for us. Atleast for students😂
Absolutely
2x mei krke thoda right side hold krke rkho 4x jitni speed ho jaegi🤪😍
Fr
Baita parhanay atay ho ya sunnnay aatay ho
@@sonalikajoshi56 Nahi vo 2x hi rehta h
Beautifully explained OOPS in Java, I have read many notes and examples but was still doubtful about the concepts. After watching this video I am now quite clear about the OOPS concepts in Java. Her lecture was excellent, it was worth watching as it was consumed very less time.😀
00:00 Classes and Objects
Constructors
Types of Constructors
21:07 Polymorphism (Function overlaoding)
26:26 Inheritence
34:43 Packages
39:42 Access Modifiers
47:00 Encapsulation
48:14 Abstraction
57:29 Interfaces
01:01:16 Static Keyword
Thx bhai
Push to description
Commit -m
ua-cam.com/video/s4B2QFjCfVw/v-deo.html
Thanks bro
Thank you so much
Didi , please post video regularly.
Waiting from long time.
Also data structures coming in college end term examination in java (December).
24:40 In Java, Method Overloading is not possible by changing the return type of the method only.
but look at her confidence man
@@73bits lol🤣🤣
Right return type doesn't matter in overloading
See the video nicely
@@73bits lmao 🤣🤣🤣
You have a talent for making complex ideas seem simple ❤thanks to you
No one can explain much better than this .....
Much respect 🙏
heh
Smart Programming By Deepak Sir
The sheer clarity and the flow in which OOPS concepts are explained is commendable. Excellent work done!
Wtf are you talking about it’s not even in English
@@markupton6084 Then try to learn Hindi along with java, otherwise, go somewhere else.
@@Spider-Man_67 🤣🤣🤣
@@markupton6084 Then learn languages older and richer vocabulary than English नहीं तो मम्मी चुदालो जाके।
@@Spider-Man_67 south Indians don't know Hindi
24:41. This is the best video for OOPs in Java. However, in function overloading, you cannot have more than one function with the same name, same parameters but different return types.
The same thing struck to my mind and to be sure I used intellij :-D. So yes, it can't happen.
Yep, else how will JAVA decide what to call for Add(1, 2) if there are two functions that return int and double.
24:41- correction
In Java, Method Overloading is not possible by changing the return type of the method only.
Thanks bro
@Apna College u must tell this thing as a popup or something
but it returns answer
class Shape {
void area(){
System.out.println("area");
}
}
class Tri extends Shape{
void area(int hight,int length){
double res=(hight*length)/2;
System.out.println(res);
}
}
class Circle extends Shape{
void area(int r){
System.out.println((3.1416)*r*r);
}
}
public class Opg{
public static void main(String[] args) {
Circle c=new Circle();
c.area(2);
}
}
@@asadullahallmamun3192 it's an example of method overriding
This Keyword >> This is a Refrence variable which holds the Reference id of current object .
and this always points to a current object.
Charan sparsh h didi ko ,
Gurur Brahma Gurur Vishnu.....
Meri job m bohot help mili h .🌹
Lectures are very informative Thanks for sharing sister
Your teaching method is very good
From Pakistan
Plz make full length videos like this one its great...........#OOP BUSTED
The playlist is very helpful. Thank you so much to whole team of Apna College. Its due to you guys that I'm able to learn java in such a convenient way.. Keep up the good work!
Great
VARANASI SARALA PUUKU MUNDADHI
My exam was after 5 hours, your video saved me 😊😊I knew nothing of Java , but within this 1 hour lecture I understood many things related to object oriented programming .
for those using Intellij are who are not able to create a package and upload it at 39:10...write down this code instead of what Shraddha di tells us to write
code:->
package bank;
public class Bank {
public static class account{
public String name;
}
}
if you can explain can you please tell why did that code ran in video but not in we type
Salute to the Tutor. I am from Mechanical Engineering background but I understood it very well.
me also robotic
mam this is really awesome OOPS revision in one short.
your way of teaching is really awesome mam .
mam please can you provide us data structure and algorithm concepts in short.
yeah i need this also
Revision ke liye hai bss ya starting se oops kar rahe hai to dekh sakte hai
Timestamp:---
1:28 Classes and Objects
13:09 Constructors and
Types of Constructors
21:07 Polymorphism (Function overloading)
26:26 Inheritance
34:43 Packages
39:42 Access Modifiers
47:00 Encapsulation
48:14 Abstraction
57:29 Interfaces
01:01:16 Static Keyword
thanks
@@iamthewalid wlcm bro
A great video to come back to for refreshing concepts. Thank you very much!
Hi ma'am today was mid semester examination of Object Oriented Programming with Java . For preparing oop I watched your video and learnt from notes provided in the comments section.
This made an effect on attempting the examination.
Thanks for creating these exiting and interesting videos.
where is link for notes i can't find it can u send here
Please make different different playlists for different topics like DP, Tree, Graph, Array, oops please
I liked your Comment.
@@AmitKumar-cp1oz tho?
ua-cam.com/video/s4B2QFjCfVw/v-deo.html
@Parth Jaiswal I liked your reply.
@@AmitKumar-cp1oz I disliked your comment
First of all, I thank you for providing precise and much needed helpful content. Please consider making videos for helping testers in automation and devops.
🥢
Thank you 💕 for continuing this series
Perfect and to the point discussion.
I am very happy that I found this video.
This video very helpful to me.
Good Work and Thank you so much for making this type of content.
Very Detail Explanation...
Thanks You
We need full detailed vdo in evry topics....
@@debiprasaddash654 par uska language samjhne main thoda muskil hota hai
ua-cam.com/video/eWFrau_sE34/v-deo.html
@@akashlaha7058 waha se achha vdo kaha se bhi nehi milega bhai
@@debiprasaddash654 haaa ye sahi hai lekin
@@debiprasaddash654 sir don't promote
24:40 I think return type doesn't matter in overloading, by changing return type we can't achieve overloading
can you explain why did she not use static keyword ,but she told in the oerior vedio that to call a function we need static keyword
@@ravanasura8308 a static method can be called without creating an instance (object) of that class, thus main () is made static since object of the main class is never created before compilation, if you want to know more about static keyword then ref: ua-cam.com/video/qRCEdWQ0f4Q/v-deo.html
@@ravanasura8308 functions can be called in two ways-
1. by creating an object of the class and then calling that function
2. by creating a static function-
eg:
public static void display() {
System.out.print("Good Morning");}
and this static function can be called directly (without using any object)
public static void main(String[] args){
display();
}
it will work..........
Nobody have taught me oops concept with this much theoritical clarity just loved your teaching ❤️
@its_coding_time subscribe the channel for simple explanation of topics
😒
This has made my concepts so clear! Brilliantly taught! Ma'am, I am a fan of yours.
📌 📌 Correction in video information :: 24:40
Function overloading can not be performed by changing the return type, means it does not depend on return type
no, you can change data type of that method
eg:-
class Method{
public static void main(String[] args) {
Hello();
System.out.println(Hello(5, 0));
}
static void Hello(){
System.err.println("hello");
}
static int Hello(int a, int b){
return(a+b);
}
}
@@utkarshpathak3472 function overloading cannot be performed only just by changing return type,thats what he is wanna convey
(and its true). 💢💢
Hiii@@govind_5101
Next level teacher 🔥🔥🔥
Keep teaching us...
GBU.. 🙏
Thank full for this course much needed course, only course i found teaching with practical code at par with courses like Harvard's cs50.
Even the examples used in inheritance for shapes strikes the concept perfectly in my mind, and the delivery of knowledge is excellent only a perfect learned can deliver such perfectly. KUDOS to everybody
Great work keep going
Please also do a video on java database connectivity, and its basics. It would be of great help. By the way, loved the video.
24:35 **[functions `can not` be overloaded if they differ only in the return type.]
Good explanation, but overloading does not depend on return type.
The work you are doing is just next level🔥🔥. It's very helpful and informative and lots of concepts are now getting clear. we all appreciate your work which u are providing free of cost..thx didi
It was fantabulous , and like the way you teach : Thanks for making such content :
and i like the way you lie
way of explanation is so clear and effective to visualize things and learn....Please also make video on how to build career in ML, Programming,Web dev Please Thanks in advance for such efforts hats off
Better than any lecture. Thank you for this awesome lecture.
Amazing! you've delivered very clear concept of OOPs.
No!
This video will help me lot to review my oops concepts strongly, The way of teaching is also best to clear out each and every point and to helpful for those who will be learning java oops concepts Thanks for providing such kind of conceptualized video to clarify each and every concepts in oops
Back Again 🔥
Happy Diwali 🔥
Classes and Objects
Constructors
Types of Constructors
21:07 Polymorphism (Function overlaoding)
26:26 Inheritence
34:43 Packages
39:42 Access Modifiers
47:00 Encapsulation
48:14 Abstraction
57:29 Interfaces
01:01:16 Static Keyword
She did forget method overriding i think
Amazing content, loved the way you teach. Thank you so much. ❤️
24:49
by changing return type function overloading will not be achieved it will be consider as same function only and get an compilation error
so we must have difference in their functional parameter type or number
there are some technical mistakes in her videos. like this one that you pointed. otherwise good work but those who are beginners will definitely learn few concepts in correctly
@@aditidhingra3513 Could you please tell me the other mistakes? I don't want the exact time stamps of the mistakes, kindly just mention the mistakes that you remember. Thanks in advance.
which ide she is using can you tell me plz?
I'm an Android developer and this video is extremely informative. Thanks a lot Didi ! :)
I am also... Where to find project on Android
ua-cam.com/video/s4B2QFjCfVw/v-deo.html
Method Overloading allows different methods to have the same name, but different signatures where the signature can differ by the number of input parameters or type of input parameters, or a mixture of both. - This was not clearly mentioned I think.
The way you teach OOPs concept is very best and I learn more things from this video.
Every topic is cleared.
You should show us the error which came in console when you missed creating default constructor and wrote copy constructor. Explaining the reason of that error would provide viewers a better understanding. By the way nice video and I have subscribed your channel.. 👌
We have to define default/non parameterized constructor by ourself if we have defined any parameterized constructor which you have defined as copy constructor here. But if we don't define any parameterized constructor then default constructor is created by JVM. Correct me if I am wrong.
Also please don't confuse viewers by your words because each word you say is tightly linked to topic and we are learning from you and listening to each of your words very carefully. You mentioned in partial abstraction that you have created a function name animal but you later pointed to eat function of Animal class.
But end of the day I have subscribed you channel and really thanks for the video.
Didi you are amazing ❤️ body language, knowledge, method of teaching and the way you covered and elaborated all the concepts are just amazing 🌸
VARANASI SARALA PUUKU MUNDADHI
Thank you so much for providing this worthy stuff for free! I used to hate java only because I really was not able to understand these concepts but after watching this video I fell in love with Java. Thank you once again. Much love :)
u want my stuff for me
shradha covered entire oops in 1 hour video which the university teacher takes literally a month or more than month to cover all the topics.
Superb explanation of all the concepts.
Your vides is very great and helpful... aapki videos dekh krr mein bhit khch sikh gyi
THANKS A LOT DIDI ❤I WAS CONFUSED AND STUCKED ON THAT TOPIC BUT YOU MAKE IT CLEAR FOR ME ...
00:04 Object-oriented programming is used to solve real-world problems through coding
02:26 Java Object Oriented Programming basics
07:33 Understanding Java OOPs in One Shot
10:18 Object Oriented Programming in Java
15:11 The constructor in Java can be created either by default or by using parameters.
17:39 Copy an object and put it in another object
21:43 Java OOPs covers time polymorphism and runtime polymorphism
23:53 Overview of Function Overloading in Java OOPs
27:56 Java OOPs in One Shot
30:15 Java OOPs covers inheritance, single level inheritance, multi-level inheritance
35:17 Java OOPs involves writing code logically and organizing it in a structured manner.
37:10 Java OOPs in One Shot
41:37 Access modifiers in Java OOPs
44:19 Java OOPs in One Shot | Object Oriented Programming
48:18 Java OOPs in One Shot - Object Oriented Programming
50:31 Object Oriented Programming in Java
55:35 Understanding the concept of constructors in Java OOPs
57:32 Interfaces in Java cannot have constructors
1:01:46 Creating an object of a class allows multiple instances with shared properties.
1:03:48 Java OOPs in One Shot | Object Oriented Programming.
DIDI please post video regularly ....
Or appse pedh kar Java mein itna maja a raha hai
Ki couldn't wait for next video..
Wating for long time
Also data structures coming in college in exam ...
Right bro
So well explained ; really helped me for a quick revision in 40 mins.
METHOD OVERLOADING IS NOT POSSIBLE BY ONLY CHANGING RETURN TYPE
Maam, please cover full Data Structures and Algorithms in JAVA❤️
Super nice tutorial except that 24:40 part , the amount of clear examples used and the no of small minute details covered by her in every lecture till now is commendable. I always struggled with the oops concepts but now I have a very good understanding! Thank you.
method overloading doesnot depends on return type if u have different return but same parameters then it will give error.
OOPs in C++ bhi aap hi karwa dijiye because aapka hi smajh m aata h
Abstraction:
Hiding the implementation details from end user
Realtime example - watch (we don't know the functionality)
Encapsulation : hiding the details from implementation level
I've been trying to understand oops concepts for 2 years but watching your video gave me full understanding. Thank you
finally got a teacher who is not boring whom i like by the looks and whose method i understand
Hello
Hiii
Can I talk to you please
Hii
@@Ignite_Growth5yes
Please continue this series 🙏
Thanks didi for teaching this important concept very easily 🙏🏻🙏🏻
Reminder on video timestamp 24:50 mam tells that we an use method overloading by changing return type of method which is wrong.
We can't achieve method overloading by changing return type of methods due to avoid the ambiguity..
Mam plz correct it in video
Way of teaching all these concepts is incredible 👍👍
Understanding oops concept from scratch to such a level.. Superb😃
Are u a college student?
NOTE : try java by DURGA sir!!!
Bhai link copy kerke Dena unnke Chanel ka please
Pagal h kya yaar
200 video 1 HR se adhik ke
Shradha didi ❤❤ is a best teacher in a world. Not Compare for anyone
I saw his video bhai kal Mujhe prelim paper pe bhi sirf Uska South Indian accent language links padhega
Great contents you have created didi ! it really helps in understanding core concepts.
Your teaching skills are very amazing.I didn't saw it as one shot video.
Please give timeStamps too in longer video from next time. It become so much easier.
Mam, please make DBMS, OS and CN in one shot too.. ❤️❤️
yes ma'am plzz
For dbms u can check gate smasher channel .... it's great
I need job aapki koi company hogi to muze job dedo 😢😢
Your qualifications
@@DivYaA683 BE CSE
Do you know web development???? Actually we wanna hire some clients for work!!!@@YASH23.GAMERZ
@@Tricreators yes i know, and i do 1 month internship of web development
Can you give me something that can i contact with you
Kudos for the great content. However, just wanted to point out a minor error, Java doesn't allow two functions to have same signatures defined in the same class. At 24:42 what you are saying is that below mentioned is allowed:
public void printInfo(String Name){//some logic};
public int printInfo(String Name){//some logic};
Correct me if I understood wrong. What I know is their parameters necessarily needs to differ either in number or in datatype irrespective of the return type.
Thank you so much didi! 👑👍👑🤟
can you make a detailed oops in C++ in one video
your explanations are pretty good and point to point and very easy to understand
Thank you mam❣️
Huge respect from Nepal❤️
While the video does cover many basic oops concepts very efficiently and clearly, also make a more detailed playlist on OOPs concepts
After Studying java : Actualy in 6:09 " new Pen( )" creates an objects. An object is created first then a ref variable in created seapreatly which is then refred to an object . ie Pen pen1 ; new Pen( ); pen1=new Pen( ) are 3 seapreate statements which shows how an object is created and then refred thriugh an refrence variable.
24:41
Method overloading cannot be done by changing the return type of methods
please correct the statement in your video
Thanks for the video. This is very informative. But Method overriding ka concept cover nhi hua. :)
Didi please post the notes as soon as possible 🙏
I am learning Java from your videos
Apna college is doing a great work 👍
ua-cam.com/video/z-iL5JJSK2c/v-deo.html C language
Mam please make a video on Leetcode DSA Sheet 🙏🙏🙏🙏🙏🙏
24:40 return type alag kar nahi sakte. function overloading me
54:05 it will throw the Compile time error not run time error as we cannot make a instance of Animal class
24:40 I read in Google, for overloading function return type must be same.
yes, it is true. galti se bol diya hoga
Thank you so much for providing such a good content in well organised way.
The efforts made to explain hard topics in easy way💯💯
Thankyou so much mam
As per my knowledge return type is not a criterion for method overloading
Thanks Didi and Aman Bhaiya you two helps us students alot , your videos helped me in my 12th too and now helping in my college , your videos motivate and inspires us alot with a bunch full of educative knowledge .
Small correction
13:16 constructor is used to initialise the object
To create object new keyword is used
Thanks for video didi
Pls make a one shot of oop in c++
Every single second is worth watching!! Great lecture 🤗🤩🥳
Thank you so much for explaining so many things in one video.
It really helped me to brush up my Java.
Thank you guys so much for making these videos .Its really helping us a lot and specially in this pandemic situation. Amazing
Right