Why to use Getters and Setters in Java ? Hindi
HTML-код
- Опубликовано: 10 окт 2021
- 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/learncodewithdurgesh
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): learncodewithdurgesh.com/
👉Telegram Discussion Group: t.me/learncodewithdurgesh
👉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.
amazing sir,thanks for answering the question
Sachme Dil Se Thank You Sir, abhi Jake samjh main aaya....😅👌🏻👍🏻🙏🏻
Thanks Durgesh for Clearing out the Concept!
Thank you so much for clearing the use of getter and setter.
Good Going Durgesh Sir... Very Explanatory 👌
Very nice sir, getter setter and private class variable helping to creating highly encapsulated class , and perform setter injection in spring
Thanks ❤..aisi or bi videos latey rahiye bhut si confusions dur hjati
bhai Bohot badhiya .
Thanks Sir, you cleared my concept of using getters and setters + why we use.
Very helpful video.... Great Sir
Video is very good , very informative , useful.
I am from Australia .
Durgesh bhai maine apke videos dekh kr last week maine TCS me job nikala, apka ka bahut shukriya
Fek le bdi bdi
Vedio is very good..it clear the confusion about getter and setter method.
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
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)
Amaizing !!! ...
Thank you for this wonderful video.
Kitna easy samjhate ho yar aap
Thanks Durgesh bhai 🙏
Wonderful video 😊
Absolutely fine ❤
Very useful video 💯
Durgesh bhai Amazing 👏
This video is very helpful sir..
Fabulous teaching sir.........🤟🙏
Well explained sir 🎉
Thanks sir.... Really helpful ..
Sir i am from Nepal..love from Nepal sir i watched your all videos ❤️❤️
Very good information
Really helpful video
Thank you sir.
Hi Durgesh Sir
Can you make a video on Spring MVC with sts Or explain some concept like controller, Dao, DaoImpl, Dto Or Dtl?
perfect getter setter example
your video is very helpful
Thank you!
thanks dogesh bhai.....................i got it
Thanks for this video
Bahut achaa
best video ,,,I am from Ahmedabad...keep it up......Thanks
Nice explanation
Very nice explanation
👌
Thanks bhai❤
Thank you so much sir ❤️
Excellent
Awesome
Sir aap bahut achhe se samjhate ho
Hello sir whats Difference between intilize ojbect through constructor vs setter method
Interesting video
sir are you really great ... i am impres your teaching way... constructor ki bhi ek video bana hai den
Perfect
thank u Soooomuchhhhhhhh❤❤❤❤❤❤❤❤
Wow nice sir ..me from pakistan sir .apne bhut ache tariqe sy explain kiya .
nice explation. mumbai se
Sir i wanted to know what is the use of constructor and why we use it
thanks bro i am from italy great video
Thanks...I'm from Gurgaon
Nice
Sir ji ke tutorial to Maggie banane se bi easy h😍
Thnks sir
Please constructor ke use pe bhi video banao sir..
Sir i love this tutorial Encapsulation video create
Yes sir we need constructor video
which data type should to store @,#,$ like special characters?
Awesome❤
Good
good
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
Please make series of video on design pattern..
Yes please make
Yes
please make video on constructor..
Please make video for plugging datatable in jsp🙏
Sir AP Please ek video constructor pe banaiye
ruclips.net/video/9wZYkfnkW2c/видео.html
How do I access a protected getter setter in another package in Java?
Sir , springboot sikhane ke baad kya servlet & jsp sikhana zaruri he kya
Can we have a live implementation of api in java
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.
Sir waiting for design patterns and core java
Please make video on yguard obfuscation and Proguard obfuscation
Sir please make level 2 of spring boot microservices
hi, durgesh sir , i am from sultanpur........
Name should be a class on its own. It could have lastname, first name, alias etc. Avoid using primitive types.
Sir please make play list of all this java tutorial
Sir all Annotation kase print kr sakte
Reflection api
hello sir , Exam Portal : Coding Login at Backend using JWT Authentication Spring Security | Spring Security | Examportal #13
is video me token generation me issue araha hai...generate token me username null ajata hai...pls help..bcz baki ka Exam project isse related code based hai
Sir core java ka real time Jo interview questions ata hai usko discuss kijiye plz
Sir please make some videos on liferay....
Does it breaking the rules of polymorphisms ?
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
It would be great if you showed example for getters
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
but if the code has a default constructor which is taking arguments the code also has another way to set the values of the private variable. So what is the solution?
Bro the default constructor doesn't have any parameters so I think it won't accept any arguments. For parameterized constructor I think we can add validations as well as we added them in setter methods.
Correct me if I am wrong
Sir please make video on apache poi
Yes make video on constructor
ruclips.net/video/9wZYkfnkW2c/видео.html
Please make a video on how to make an exe file through install4j I need to know
I got this question in interview.
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.
Contsructor ka chaiye or OOPS concepts k upar bhi all in one from zero to hero...pls sir
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?
I'm waiting for constructor video.
❤❤❤❤
ye to ham constructor se bhi kar sakte hai to getter setter kyun?
we can also do this using function then why are we using Getter and Setter?