Тёмный

1. OOPs Concept in Java with Examples | 4 Pillars of Object Oriented Programming (OOPs) 

Concept && Coding - by Shrayansh
Подписаться 105 тыс.
Просмотров 42 тыс.
50% 1

➡️ Notes link: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
➡️ Join this channel to get access to member only perks:
/ @conceptandcoding
There are 4 pillars of OOPs:
- Inheritance,
- Polymorphism,
- Abstraction,
- Encapsulation.
i have all 4 in detailed with different examples. And interview questions which can be asked on top of it.
#java #objectorientedprogramming

Опубликовано:

 

10 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 102   
@GauravKumar-by1yt
@GauravKumar-by1yt Год назад
Awesome explanations...so simplified. Thanks a lot ☺️
@ConceptandCoding
@ConceptandCoding Год назад
Thanks
@adityaagarwal2324
@adityaagarwal2324 6 месяцев назад
Hi Shrayansh, have u made all the videos public or there are more vidoes in these playlist? Do i need to join to access the complete playlist
@parthasarathimondal7190
@parthasarathimondal7190 7 месяцев назад
What is your view on kotlin ? You can completely write anything just using functions and achieve same functionality as class based paradigm.
@goyaldeekshant
@goyaldeekshant Месяц назад
nice I got a nice revision after a long one year
@parthh3963
@parthh3963 14 дней назад
00:02 Overview of Object Oriented Programming (OOPs) in Java 02:21 Real world entities have behavior (functionality) and properties 07:09 Objects in OOP have properties and behaviors 09:38 Class is the blueprint/template for creating objects. 15:00 Creating objects using the 'new' keyword in Java 17:31 First pillar of OOPs: Data Abstraction 21:49 Achieving data abstraction through interface and abstraction. 24:07 Data abstraction is essential for user interface simplicity and confidentiality. 28:37 Implement data hiding for simplified code 30:47 Data abstraction simplifies client code 35:30 Encapsulation in OOPs 37:49 Encapsulation bundles data and code into a single unit in Java OOPs 42:15 Object-oriented programming emphasizes the need for information exchange between classes. 44:39 Classes have control over their own properties and methods. 49:08 In OOPs, data can be accessed only through methods, not directly. 51:11 Data encapsulation is like keeping data inside a capsule for protection. 55:41 Understanding the concept of inheritance in Java 58:09 Car type and object creation in OOPs 1:03:25 Inheritance and method ambiguity in object-oriented programming. 1:05:53 Diamond problem in OOPs 1:10:23 Polymorphism in Java 1:12:33 Method overloading is known as static polymorphism or compile time polymorphism. 1:17:19 Method overloading based on return type is not allowed 1:19:25 Overloading vs. Overriding in Java 1:23:52 Method Overloading vs Method Overriding in OOPs 1:26:13 Inheritance and has a relationship in OOPs concept 1:30:48 Understanding 'has a' relationship in OOPs 1:33:16 Objects in OOP are strongly related and impact each other
@indrajeetjyoti9020
@indrajeetjyoti9020 9 месяцев назад
Can you make video on functional programming and async and reactive programming
@nandhanvarma6423
@nandhanvarma6423 Год назад
Great Content. Also A Small Request From My Side. Could You Please Also Share and Design Complex MCQs Which Revolve Around These Topics Which Help in Strengthen our concepts
@ConceptandCoding
@ConceptandCoding Год назад
Noted
@xamguide2914
@xamguide2914 5 месяцев назад
Dear @ConceptandCoding Where can i download the notes for this video
@user-ky7hu3gj6i
@user-ky7hu3gj6i 5 месяцев назад
@sheyansh In polymorphism, can we change access modifier and exception if any in case of overriding ?
@ConceptandCoding
@ConceptandCoding 5 месяцев назад
In polymorphism, you cannot change the access modifier to reduce visibility (e.g., from public to private) when overriding a method. However, you can increase visibility (e.g., from protected to public). Regarding exceptions, the overriding method can throw the same, subclass, or no exceptions compared to the overridden method, but it cannot throw broader exceptions.
@letscodewithshivam
@letscodewithshivam 5 месяцев назад
Hi Shrayansh, at 25:17 what does this user mean, is it like a client (any other application) that uses our exposed interface methods ?
@ConceptandCoding
@ConceptandCoding 5 месяцев назад
yes, its client code
@sagarsingh-wb8ou
@sagarsingh-wb8ou 6 месяцев назад
Hi Shreyansh, have you shared this slide somewhere?
@krupalibhagwat395
@krupalibhagwat395 6 месяцев назад
when you upload the springboot and microservices video?
@souravpatra0175
@souravpatra0175 4 месяца назад
Hi, Plz share the slides, as it will be very helpful for revision or remember the topics
@fahadisrar2195
@fahadisrar2195 5 месяцев назад
I like your content. Is it possible for you to share link to all your PPTs / Slides or One Note whichever way you can share the notes so that we don't need to worry about taking notes and instead focus on studying. Whatever slides you've taught on should also suffice.
@ConceptandCoding
@ConceptandCoding 5 месяцев назад
ack. in most of the videos description i have shared the notes for some its left i will add
@afsanVlog1100
@afsanVlog1100 9 месяцев назад
can we pls get the slide here as well ?Thanks
@shashankbhardwaj631
@shashankbhardwaj631 2 месяца назад
Do these videos cover whole java core. Like in this video concepts are explained in brief and there is no other video of java oops in the playlist
@khushbusoni8179
@khushbusoni8179 11 месяцев назад
Also the diamond problem we can resolve throw interface but how it is working in other language like CPP .. concept will be same for all is it?
@ConceptandCoding
@ConceptandCoding 11 месяцев назад
I don't know CPP, but my gut feeling is, in CPP should also have this problem (as it's OOPs language only). Try it out
@amvasoft
@amvasoft 16 дней назад
Bro nice one, but if possible please make this video like the one, you explained memory management & Garbage collection without PPTs
@sumitbasu5146
@sumitbasu5146 Год назад
Thank u 👍👍
@KonNishant
@KonNishant 7 месяцев назад
hii, i joined your membership today, i was expecting the notes will also be shared, hope i am not wrong, cause it will be good for us to revise it before interview.
@ConceptandCoding
@ConceptandCoding 7 месяцев назад
hi, for mostly, i have added the notes link in the description section, for starting ones also, i will add. for some initial videos, i will update the description section: Please find the notes for some initial videos here: Java: Reflection: notebook.zohopublic.in/public/notes/u3i1sae669a127ac24a07842a488207750a7c Java: Functional Interface and Lambda Expression: notebook.zohopublic.in/public/notes/u3i1sa79b68153abe44d5aa93cc1d5b9f4dd9 Java: Interface in Depth: notebook.zohopublic.in/public/notes/u3i1s033d318172e442b8b8f242767b93776c Java: Annotation: notebook.zohopublic.in/public/notes/u3i1sd9ea4e81ceef491cb4bd1ee221daa89f Java: Singleton and Immutable Class: notebook.zohopublic.in/public/notes/u3i1s340edd3a883b4ef7ac90874731c865b0 Java: Exception Handling notebook.zohopublic.in/public/notes/u3i1se54e2f3438a84f42bec26cf3336a5226 Java: POJO and ENUM Class notebook.zohopublic.in/public/notes/u3i1se962d56445eb4118ab4e4c0ca99e4728 Java: Operators notebook.zohopublic.in/public/notes/u3i1s38886070c7a74e9db5b0ec3b1697f7f8 Java: Control flow statements notebook.zohopublic.in/public/notes/u3i1sa26424f5a9614b35897900c90fb2c402
@abrahamlincoln5724
@abrahamlincoln5724 9 месяцев назад
Class is a blueprint/template/skeleton/stencil/mold by which we can create objects.
@ConceptandCoding
@ConceptandCoding 9 месяцев назад
Right
@parthasarathimondal7190
@parthasarathimondal7190 7 месяцев назад
lol. Dude no one gonna ask you what is class.
@raghibahsan5568
@raghibahsan5568 10 месяцев назад
In polymorphism dynamic dispatch is missing. Anyways, great video simple & crisp.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Thanks and let me check buddy
@ayushkansal6161
@ayushkansal6161 10 месяцев назад
Thats same as method overriding as which method to dispatch at runtime it is decided.
@alfiyakhan4580
@alfiyakhan4580 9 месяцев назад
​@@ayushkansal6161 Hi you took the membership plan, I just want to know how to deactivate the plan because it will automatically deduct the amount from my account.
@jshtech6092
@jshtech6092 4 месяца назад
One question on method overriding - class B extends A -> A obj = new B(); Can you explain this type of object creation? and if we do obj.getEngine(); then whose method will be called?
@ChandraShekhar-yt7so
@ChandraShekhar-yt7so 2 месяца назад
B class engine will get called
@sahilgarg3460
@sahilgarg3460 9 месяцев назад
Bro, can you make one video on deployment basically how to deploy microservice and web app and see logs.
@ConceptandCoding
@ConceptandCoding 9 месяцев назад
Noted
@khushbusoni8179
@khushbusoni8179 11 месяцев назад
Hi shreyansh What is the use of private class if we can't access it. Can you tell any real-life example.
@ConceptandCoding
@ConceptandCoding 11 месяцев назад
I would say, it's more strongest form of Encapsulation, when you want only the class in which it is defined should access it, then you can use it. With this you can group method class wise.
@subhadipsamanta4959
@subhadipsamanta4959 3 месяца назад
Private class should be like TransactionDetails when a payment transaction happens in Gpay.
@nitakr385
@nitakr385 6 месяцев назад
we call the method after creating the object in both the cases (Method overriding and method overloading) then why one is called as compile time polymorphism and another runtime polymorphism. I understand the fact that in overriding at runtime it gets decided which methods to call but same also happen in overloading. It seems like silly question. but can anyone answer?
@ConceptandCoding
@ConceptandCoding 6 месяцев назад
its not a silly question buddy, i have explained it here in depth: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Lqan4AF9wzA.html pls check once, if you still have doubts, we will discuss
@grrlgd3835
@grrlgd3835 8 дней назад
objects have state , behaviour and identity
@whatnoteverything-lh8xp
@whatnoteverything-lh8xp 10 месяцев назад
Can you make detailed video on aggregation association composition
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
sure
@EntertainmntCreator
@EntertainmntCreator 6 месяцев назад
Hey bro, can you please share these slides for notes?
@pranaymacharla6083
@pranaymacharla6083 13 дней назад
Did you have notes? Please send the link if you have . Thank in Adv
@sachinphogat8822
@sachinphogat8822 13 дней назад
Where can I find these ppts ?
@prateekgaur1172
@prateekgaur1172 2 месяца назад
Hi Sheyansh I am premium member unable to find notes for videos please share any discord link available and notes download link
@ConceptandCoding
@ConceptandCoding 2 месяца назад
few initial videos notes are missing buddy
@hemakiran5968
@hemakiran5968 4 месяца назад
Please add the notes , it will be helpful for revision, please consider it fast.
@anishkhullar9
@anishkhullar9 6 месяцев назад
how to acheieve composition and aggregation in java . can you plz tell
@ConceptandCoding
@ConceptandCoding 6 месяцев назад
In composition, if parent class dies, child class also dies. while in aggregation, the relationship is more relaxed, and the objects can exist independently of each other. Composition example: ------------------------------------- class Car { Engine engine = new Engine(); } class Engine { // Engine properties and methods } Aggregation example: ------------------------------------ class University { List students; public University(List students) { this.students = students; } } class Student { // Student properties and methods }
@tdeep01
@tdeep01 5 месяцев назад
Sir can you share slides for notes and revision purposes. Thanks I just brought memebership for this playlist ❤❤
@ConceptandCoding
@ConceptandCoding 5 месяцев назад
For most of the videos, in description section I have added notes link, for some missing ones, I will try to add
@randhir2588
@randhir2588 11 месяцев назад
It is mentioned in Procedural or Functional programming that reusability is not possible but we can call the function again and reuse. Right ?
@ConceptandCoding
@ConceptandCoding 11 месяцев назад
Yes that is possible, but think from the capability which interface or abstract class provides, those kind of reusability is not there in functional programming
@pranaymacharla6083
@pranaymacharla6083 13 дней назад
Notes link?
@napster5944
@napster5944 Год назад
Post core java...Please upload spring framework and spring boot as well
@ConceptandCoding
@ConceptandCoding Год назад
That's the plan buddy
@himanshukandpal5585
@himanshukandpal5585 Год назад
@@ConceptandCoding so howmuch time will it take to complete the JAVA basics to avanced?
@ayushkansal6161
@ayushkansal6161 9 месяцев назад
​@@himanshukandpal5585 at this pace at least 1.5 - 2 years
@ayush24jai
@ayush24jai 9 месяцев назад
commenting for better reach
@jatinthakur4252
@jatinthakur4252 Год назад
Can i download these videos offline after join ?
@ConceptandCoding
@ConceptandCoding Год назад
I think youtube give download option
@jatinthakur4252
@jatinthakur4252 Год назад
No download option is given by RU-vid
@justlc7
@justlc7 Месяц назад
can we please get the notes? Or do we get it if we become a paid member?
@ConceptandCoding
@ConceptandCoding Месяц назад
for some videos, notes are missing, even if you join as paid member.
@justlc7
@justlc7 Месяц назад
@@ConceptandCoding Oh, what about this video? I couldn't find the slides, is it missing for this too?
@ConceptandCoding
@ConceptandCoding Месяц назад
@@justlc7 yea its missing
@PokketResidency
@PokketResidency 5 месяцев назад
please share the slides as well
@RahulJhaJourney
@RahulJhaJourney Год назад
can you also shared this ppt?
@ConceptandCoding
@ConceptandCoding Год назад
So buddy i haven't saved it
@akarshkumarsrit2518
@akarshkumarsrit2518 10 месяцев назад
can we get the slides for this
@blackhat8926
@blackhat8926 4 месяца назад
did you get ?
@nocode659
@nocode659 3 месяца назад
sir pls share notes of java sir, it will helop for me
@shankar7435
@shankar7435 2 месяца назад
Object will have State and Behaviour.
@ayumijan
@ayumijan Год назад
Can you please use hindi as a medium of communication ..I guess that will be more favourable for you to explain .
@ConceptandCoding
@ConceptandCoding Год назад
Sorry Ayumi, as many engineers are from South too, that's why i can not use Hindi, even if one engineer does not understand Hindi. Hope you understand.
@justlc7
@justlc7 Месяц назад
How many hrs is the whole playlist?
@ConceptandCoding
@ConceptandCoding Месяц назад
around 30hrs
@justlc7
@justlc7 Месяц назад
@@ConceptandCoding Thanks for replying, can you tell me which videos are most imp for java interviews? I have one soon, last i worked on java was 3-4yrs back, so basically a noob now, just want to remember learn the imp videos for interview in a few days, can you help with this info? Thanks
@justlc7
@justlc7 Месяц назад
Also is there a discord group you have? I think asking such questions will be seamless if any such exists.
@arundoss6785
@arundoss6785 Месяц назад
Is this the same course in udemy?
@ConceptandCoding
@ConceptandCoding Месяц назад
yes
@AdarshSingh-cu3yy
@AdarshSingh-cu3yy Год назад
In this video, you have not covered coding example
@ConceptandCoding
@ConceptandCoding Год назад
Hi Adarsh, this is an introductory video, all these topics you will find in depth in further videos.
@akhiltomar4288
@akhiltomar4288 11 месяцев назад
Can you please share those handwritten notes and pdf used here ?
@ConceptandCoding
@ConceptandCoding 11 месяцев назад
Hi Akhil, believe me, it would be really helpful for you, if you make your own notes after understanding. It will benefit you in long term.
@rishabhgupta4133
@rishabhgupta4133 2 месяца назад
whoever is asking the question, are the real questions which asked by interviewer
@ConceptandCoding
@ConceptandCoding 2 месяца назад
yes
@sumitraina24
@sumitraina24 27 дней назад
DAATA :P
@vivekreddy8864
@vivekreddy8864 9 месяцев назад
Thanks for using English and not hindi
@iqrarahmad59
@iqrarahmad59 8 месяцев назад
😂 you should learn hindi
@adityaagarwal2324
@adityaagarwal2324 6 месяцев назад
Pls correctly pronounce the word data, it's not datha it is daeta
@ConceptandCoding
@ConceptandCoding 6 месяцев назад
Noted, will improve it for sure
@adityakalwar267
@adityakalwar267 5 месяцев назад
@@adityaagarwal2324 you got that what he said toh kyun ungli karni hai
@adityaagarwal2324
@adityaagarwal2324 5 месяцев назад
@@adityakalwar267 arre sunne mae annoying lagta hn
@arnab_16
@arnab_16 5 месяцев назад
communication mean one person understand what other person said ... you got it mean ok
@InstaClone-il5oc
@InstaClone-il5oc Год назад
Could You Please Provide these slides or notes
@ConceptandCoding
@ConceptandCoding Год назад
Hi, i thought engineers making their own notes after understanding will be much more beneficial then i share these. That's one of the reason i refrain from sharing any notes buddy.
Далее
Fundamental Concepts of Object Oriented Programming
9:16
Proxy - Design Patterns in 5 minutes
3:59
Просмотров 3,5 тыс.
Object Oriented Programming - The Four Pillars of OOP
11:23