So, just so I have this straight encapsulation requires the getter and setter to follow the methodology and to be able to call the properties and functions in other classes?
Hi Happy suppose in a class if we use private for data field and not declare any property so its accesing within the class only. So will it be secure without binding the property?
So we are violating Encapsulation here to accessing data fields without property or a method.is this approach is Insecure right?and Can I say in Interviews like Encapsulation is also a secure thing by wrapping fields with methods or properties right!?and one more doubt is we can also wrap data fields with Constructer also right!?
I like your Teaching ❤ 1. Short (less than 10 m) 2. Explain with examples 3 . Story telling rather than hard technical definition
One of the easiest example to understand this concept. Thanks
Glad it was helpful!
The greatest content on youtube. Respect 🎉🎉
I appreciate that. Thanks @govindbansal2181
Always excellent sir thankyou
Always welcome Vishnu
This helped me understand the concept a lot. Thank you!
Thanks and all the best for your career.
Hi sir.
Your videos are very useful.
Your teaching is awesome.
I give you a teaching award 🎉. Thank you for your valuable content.
Thank you sir for all your efforts. It was so easy to understand.
You are most welcome
Thanks, you explain all the concept clearly!!
Glad it was helpful!
helpful video thank u sir
Thanks sir you are osm personality ❤❤
Most welcome 😊
good explain I tried to find exact example of encapsulation but here is right place
Glad it was helpful!
Thank you sir encapsulation conseft very impartent to interview point
Most welcome Kuruba Pavan
So, just so I have this straight encapsulation requires the getter and setter to follow the methodology and to be able to call the properties and functions in other classes?
Hello sir , are there any videos for design patterns. Please provide us some videos for the same.
Thank you . Your example is so good
Thanks a lot
Thanks for detailed explanation, it will help us interview
Glad it was helpful! Sai Eshwar
Very useful information sir
Thank you for sharing
Most welcome Sir. Vishnu
Good job. Thanks alot
You are welcome brother
Great explanation, thanks
Your Welcome @victor
Thanku
you are like a godfather❤❤❤
Hi Happy suppose in a class if we use private for data field and not declare any property so its accesing within the class only. So will it be secure without binding the property?
Inside the class, using the class private variable is not a security issue. Like inside bank, the money is safe but not outside :)
@@interviewhappy Thank you Happy got it.
What does means warapping inti single unit? Can you explain in detail
Thank you Sir👏
Most welcome @divya
So we are violating Encapsulation here to accessing data fields without property or a method.is this approach is Insecure right?and Can I say in Interviews like Encapsulation is also a secure thing by wrapping fields with methods or properties right!?and one more doubt is we can also wrap data fields with Constructer also right!?
Sir can you schedule some mock interviews for freshers
Sir can you please make video on property vs field
Sure Piyush, but field represent data and property is a specialized function. That you should always remember.
Sir, In Java do we have "get" , "set" properties like we have in C# or we have to write methods like getData(), setData() .?
yes we have getData() and setData() in Java
he did not ask that. he's asking "Does JAVA have getters and setters", like the properties in C#
@@danieldonovan6703 yes bro. does java have it or we have to write a function to get and set?
So it's basically data models
Yes Piyush, the basic name is property, in mvc we call it models.
What is abstraction....samjha dogey chacha....toh encapsulation samjh aajaega