Why to use Getters and Setters in Java ? Hindi
HTML-код
- Опубликовано: 4 фев 2025
- In this video, I am going to explain what is setters and getters in java programming language and why to use getters and setters in java language with a practical session on Eclipse IDE.
Telegram Link for Doubt: t.me/learncode...
Important Videos:
➡️React JS with Project: • 🔥 🔥 Complete React Js ...
➡️Learn JDBC in one video: • JDBC Crash Course in 1...
➡️Learn Python in One Video: • Learn Python in One Vi...
➡️Learn HTML in one video: • Jquery in one video in...
➡️Learn HTML form in one video: • Jquery in one video in...
➡️Learn JavaScript in one video: • Learn JavaScript in O...
➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
➡️Learn CSS in one video: • Jquery in one video in...
➡️Jquery in one video: • Jquery in one video in...
Kotlin is one video: • Kotlin | Learn Kotlin ...
➡️Complete Python Project - RUclips downloader in one video: • Jquery in one video in...
Important Playlist:
➡️Spring Boot Tutorial with Project: • Spring Boot Tutorial i...
➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
➡️Hibernate Tutorials: • Hibernate Tutorial for...
➡️E-Commerce Project using Java: • E-Commerce Project usi...
➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
➡️Learn Technology in One Vides: • Learn in one video : C...
➡️Programming Tips for Programmers: • Coding Tips and Discus...
➡️Complete Python for Beginners: • Complete Python Tutori...
➡️Important Python Projects: • Python Projects in Hindi
➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
➡️Java Swing Projects: • Java Projects for begi...
➡️Java Core Concepts: • Java Core Tutorial
➡️Kya aap Jante hai Series: • kya app jante hai : s...
Important Links:
👉Official Website (Source Code): learncodewithd...
👉Telegram Discussion Group: t.me/learncode...
👉Follow me on Instagram: / durgesh_k_t
👉Follow on Facebook / learncodewithdurgesh
Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Durgesh bhai maine apke videos dekh kr last week maine TCS me job nikala, apka ka bahut shukriya
Fek le bdi bdi
Sachme Dil Se Thank You Sir, abhi Jake samjh main aaya....😅👌🏻👍🏻🙏🏻
Video is very good , very informative , useful.
I am from Australia .
Sir i am from Nepal..love from Nepal sir i watched your all videos ❤️❤️
bhai Bohot badhiya .
Kitna easy samjhate ho yar aap
Thanks Durgesh bhai 🙏
Wow nice sir ..me from pakistan sir .apne bhut ache tariqe sy explain kiya .
Thanks Sir, you cleared my concept of using getters and setters + why we use.
Thanks ❤..aisi or bi videos latey rahiye bhut si confusions dur hjati
best video ,,,I am from Ahmedabad...keep it up......Thanks
Jabardast bhai keep it up.
Vedio is very good..it clear the confusion about getter and setter method.
Good Going Durgesh Sir... Very Explanatory 👌
Very nice explanation
👌
perfect getter setter example
Sir aap bahut achhe se samjhate ho
Very nice sir, getter setter and private class variable helping to creating highly encapsulated class , and perform setter injection in spring
Very helpful video.... Great Sir
Wonderful video 😊
starts from 1:07
getters and setters 8:17
Very useful video 💯
thanks bro i am from italy great video
Thanks...I'm from Gurgaon
Fabulous teaching sir.........🤟🙏
Thank you for this wonderful video.
Thanks Durgesh for Clearing out the Concept!
This video is very helpful sir..
thanks dogesh bhai.....................i got it
Sir kya aap ek oops concept ka use krke ek real life project bnwa skte hai chhota sa plz . huMe PTA hai oops concept but real life kese use hoge wo sb clear nhi kai concept bnwa dijiye ek project simple sa
Right 💯
Hn Sir
Bana diye sir video ek
Yes sir yeh sahi bol raha hai reall life me uses kaise haii aik simply sy video banao sirr
@Ravi sahu u hv to use scanner
Sir ji ke tutorial to Maggie banane se bi easy h😍
Durgesh bhai Amazing 👏
Nice explanation
Thanks so much sir( i was just creating the getter n setter by just right clicking but didn't know in deep why i am do so)
sir are you really great ... i am impres your teaching way... constructor ki bhi ek video bana hai den
Very good information
Thank you so much for clearing the use of getter and setter.
thank u Soooomuchhhhhhhh❤❤❤❤❤❤❤❤
Thanks sir.... Really helpful ..
Finally...itna search krne baad ab jaa kar getter and setter samajh Aaya😂
hi, durgesh sir , i am from sultanpur........
Please constructor ke use pe bhi video banao sir..
nice explation. mumbai se
Hi Durgesh Sir
Can you make a video on Spring MVC with sts Or explain some concept like controller, Dao, DaoImpl, Dto Or Dtl?
Sir , springboot sikhane ke baad kya servlet & jsp sikhana zaruri he kya
Excellent
please make video on constructor..
your video is very helpful
Why we use default constructor if we are already using an argument constructor?? Plz make video on it
Haa bhai constructor ka v video banao......by the way ye video bahut helpful tha
Thanks bhai❤
✅Best video on Getter and Setter [Encapsulation] on youtube.
amazing sir,thanks for answering the question
Please make series of video on design pattern..
Yes please make
Yes
It would be great if you showed example for getters
Absolutely fine ❤
Thank you so much sir ❤️
Thank you sir.
ye to ham constructor se bhi kar sakte hai to getter setter kyun?
If condition to aap directly bhi de sakte the jab class variable me value set kar rahe hai without setter getter.. usecase thoda ache example se explain kijiye.
Really helpful video
Bahut achaa
Sir Mujhe Testing to Development switch karna hai kuch suggestions ?
java, hibernate, spring boot and rest api's........that's all you have to learn to switch to development.
what is the name of playlist of this video? where I can find this?
Sir i wanted to know what is the use of constructor and why we use it
Yes sir we need constructor video
Thanks for this video
Yes make video on constructor
ruclips.net/video/9wZYkfnkW2c/видео.html
Sir please make video on apache poi
Sir i love this tutorial Encapsulation video create
Name should be a class on its own. It could have lastname, first name, alias etc. Avoid using primitive types.
Please make video on yguard obfuscation and Proguard obfuscation
Sir all Annotation kase print kr sakte
Reflection api
Interesting video
we can also do this using function then why are we using Getter and Setter?
Sir please make level 2 of spring boot microservices
Please correct me If I am wrong.
You defined getter and setter method and for displaying you just directly accessing instance variables by its name, So what is the use of getter method then? Is it need to be call inside display method instead of directly accessing variables?
Same question
Getter used for return the data which is set by setter
@@adityasrivastav0222 I know that but in his video, He ain't used/called getter method anywhere in the code. He only defined getter method and didn't called anywhere in the code, Then when to use/call getter method?
Hello sir whats Difference between intilize ojbect through constructor vs setter method
Getter or setter ka calling proccesory kya hai???
Sir AP Please ek video constructor pe banaiye
ruclips.net/video/9wZYkfnkW2c/видео.html
I got this question in interview.
Does it breaking the rules of polymorphisms ?
Thank you!
Please make video for plugging datatable in jsp🙏
good
Hi sir, my question is that you have made a method display in that also we can give condition then also it will work same
But the values will be set in the variable even though you throw error in display think in a large perspective you cannot check in every method were the variable is used hence it should be validated while creation only ...i think this can be a valid reason please feel free if any correction needed in my understanding
Upgrade to "records" (v19 onwards?)... avoid the need to use getters/setters.
Awesome❤
Good
Sir core java ka real time Jo interview questions ata hai usko discuss kijiye plz
Durgesh sir....java core basics link is not working...we don't find any videos.. please let us know where we can find java core expalined by you
Sir please make some videos on liferay....
Awesome
which data type should to store @,#,$ like special characters?
Sir plzz Python ke djago pe bhi video banaiye...
Sir please make play list of all this java tutorial
Contsructor ka chaiye or OOPS concepts k upar bhi all in one from zero to hero...pls sir
Nice
But in main class i can validate data before storing it into variable ... So...
Perfect
Can we have a live implementation of api in java
Amaizing !!! ...