You have the best explanations on KZfaq for Java. I'm here in the US, studying at a reputable university, but these guys just assign hardass problems, instead of teaching what the concepts are and how do they apply. Thank you very much :D
@zarakkhan64184 жыл бұрын
Yo, I am here too. Before I saw the name, I was like which university is he talking about lol
@prabeshkhati43984 жыл бұрын
@@zarakkhan6418 which university do you guys go to??
@naveent27854 жыл бұрын
Well if you are in such reputed university, you are already expected to know very basics in guess
@cartoons__for__kids_Hindi3 жыл бұрын
@@naveent2785 actually even Harvard teach basics, it just depends on teachers
@sowndharyas2244 жыл бұрын
Amazing! So far the best instructor I've ever come across. Thank you!
@trzmaier5 жыл бұрын
this is the first time I hear someone explaining why you would not want to access or change the values of instance variables directly. even my lecturer would just shrug and say "you just don't do it" or "this is not object oriented programming" (I learned to truly hate the latter phrase). thank you!
@shasandhakal93382 жыл бұрын
Sir I have attended many Java classes but never understood the concept of OOPs until I saw your video. You are really a great instructor.
@PramodKumar12076 жыл бұрын
Wow Sir! Its amZINGGGGG........I went through many tutorials but never got this concept... a big Thank You
@vamshibhai58552 жыл бұрын
Best one i ever found in youtube Sir you are the best its been honour for me sir to be your student thanking you sir for your pateince,helping nature and Gratitude
@jkate96953 жыл бұрын
Fast and direct! Thank you for answering my question on why getters and setters are needed!
@pranavk96763 жыл бұрын
You are very much better than other complicated OOPs explanations. You just saved my day!!🤗🤗
@Shaxadd4 жыл бұрын
OMG LITERALLY THE BEST VIDEO TO UNDERSTAND ENCAPSULATION ON ENTIRE INTERNET
@RamKumar-ui1sp6 жыл бұрын
bro amazing so may thing in one video, well explained business scenarios
@lychenus2 жыл бұрын
at least you mentioned that you can add logs or add validations before you store or read data. most videos on youtube or teachers are simply only describing encapsulation, not explaining why you need that.
@bhaskarakula27864 жыл бұрын
Thank you So much bro..it is a wonderful video i have never seen this kind of nice videos.Thanks again.../2
@mathewfrancis41674 жыл бұрын
god your better than most american java tutorials......! thanks ; )
@siddhithakur2399 Жыл бұрын
amazing explanation straight to the point
@lalithyakothakota5296 Жыл бұрын
Hi your videos are the best , where I get some clarity. I start surfing the concepts, get no clarity and end up watching your videos and keep motivated. Can you please compare and explain the difference between abstraction and encapsulation?
@akashkapade56586 жыл бұрын
Sir, Could you please create new pack of these newly created videos. So that I would be easy to see all new videos in one list. Thanks.
@raghavtripathi95556 жыл бұрын
till now I had just read..the definition of this principle of oop but..today...I experienced it
@mohammadbhuiyan3575 жыл бұрын
you are a amazing teacher. Within very short time teach a huge topic everything, I could not find any one like this before. Would you be able to share your code in your public github or any other place for your viewers. Thanks
@leslieleslie3364 жыл бұрын
I want to ask who are the "users" that can access your private variables? Programmers? End user of the application? I still dont get the benefit of how the encapsulation really help, because the programmer can just open the source file and modify the source to access the private variables
@GamerForeverChannel4 жыл бұрын
what is the best IDE for creating PC application`s? Eclipse?
@syedidrees62205 жыл бұрын
huge thanks... give ocean of knowledge is very less time...
@milankbudha4 жыл бұрын
thank u navin sir from Nepal
@milaismyname6 жыл бұрын
Wow, the example with the logfiles was very helpful, thank you!
@alittlecoding6 жыл бұрын
agreed . was going to comment the same.
@maruf79566 жыл бұрын
Your sexy
@gauravnightchargers5 жыл бұрын
@@maruf7956 *you're
@maruf79565 жыл бұрын
@@gauravnightchargers thanks now my life is comlplete now i can die in peace
@gauravnightchargers5 жыл бұрын
@@maruf7956 My Mission here is complete,need to go where my people need me on another planet.
@Westerntales4 жыл бұрын
im ABC student in Banglore your concepts are deeply going inside
@tejasaimaheshchennamsetti32472 жыл бұрын
Why do we need to access variables through methods(only!), what's the use of it? And why do we have to make a variable declaration as private? & What is a log file?
@naveent27854 жыл бұрын
I'm also thinking implementation of the object should be done through methods and so they need to be called to instantiate an object. But isn't a constructor can also be used to achieve this purpose. However, constructor creates a new object so everytime we want to change the member variables we can't create one!
@smilekids7 Жыл бұрын
Really good explanation!! Thanks :)
@zygopok16 жыл бұрын
Very nice...awesome explanation...you should create a playlist for tutorials for java for beginners please
@user-qj8bq1yd5s Жыл бұрын
Amazing video!!
@chetansingh24263 жыл бұрын
that was very cool and to the point viedo thank you
@ravikanthvanapalli94752 жыл бұрын
sir we can write the code this.rollno=rollno and next line return rollno ;
@Luisgui765 жыл бұрын
Thank You! best explanations on youtube!
@mohanrammanikandan79395 жыл бұрын
Thank you, Sir. I couldn't get the "Log files" part. Can you please explain it ?
@bluezgoldz4 жыл бұрын
Might be too late to get to you but if I'm not mistaken, what he meant was you can track when your variable's value has changed because in order to change the variable within a getter/setter (POJO class) you'll need to access a method(). as you already know, you can do many funky stuff inside a method() including creation of a log file or a simple sysout statement to notify yourself that the variable has changed.
@target__iit5 ай бұрын
Is just like a notification to the admin that somethings been accessed or modified in the program by a user.
@chinmaydas40536 жыл бұрын
your video is always a great learning
@vaibhavkaushik6272 жыл бұрын
Thank you for the video. It helped me
@ramanjuluk32173 жыл бұрын
Second part is import to interview purpose..90% people don't know this and majority people thinking that why setters and getters amd intead of these we can make public variables.
@anandn98692 жыл бұрын
This is not encapsulation.. many websites state encapsulation is for data security which is completely wrong.. Encapsulation just contains attributes and methods to operate on that properties in a single unit.. It's like capsule containing number of different ingredients. In your case once we create Student object, no matter what or where this object is transferred all its properties are encapsulated in it.. Data hiding is some thing which can be made by setting fields as private. Abstraction can be achieved to hide the implementation details to make sure the client does not need change if some thing that can be controlled inside a method itself.. Pleas correct it..
@akshaybhagat2022 Жыл бұрын
Very nice teach 👍
@nagmamittal94194 жыл бұрын
hey, can you put the video of programming using three concept in java data abstraction, encapsulation and polymorphism. Thanks
@kumark9183 жыл бұрын
Someone pls answer why should I use getters and setters
@divinity52502 жыл бұрын
Why we need encapsulation at 4:35 mins
@sivakrishnat54713 жыл бұрын
why cant you do logging in main method itself?
@rahulnaraniya12224 жыл бұрын
Great explanation. Keep it up.
@Dyslexic_Neuron5 жыл бұрын
encapsulation is not just about putting getters and setters for private variables
@krishnapavan76882 жыл бұрын
what is the purpose of declaring variables as private is not clear
@veerraghavareddy7356 жыл бұрын
Can you explain log file deeply because i cannot understand
@PatakhorPallab Жыл бұрын
Why at the later part we used this keyword?
@nikitaajudiya70994 жыл бұрын
well explained!!!
@amarnathtatireddy45884 жыл бұрын
Please upload tutorials for SQL server
@millenmarbun245 жыл бұрын
good explanation but try to speak slower
@firdauspuzi11454 жыл бұрын
Agreed but as a short-term solution you can adjust the playback speed to x0.75
@rishabhsingh4534 жыл бұрын
I don't find this video in playlist
@jeevan44373 жыл бұрын
I know Nobody gonna reply it but even though... The burning question is instead of using get and set as encapsulation why don't we simply make variable private and use a method in a class to pass and call values... class Sample { private String name="Hawaii"; private int num; public int modern(int name) // Like This... { this.name=name; return name; }
@smile-me2ik3 жыл бұрын
Mind blowing 👍👍👍
@debrajroy12906 жыл бұрын
nice...deseerves to get a like
@loknathmahapatra1923 жыл бұрын
we declare the private variables so that couldn't be accessible from out of class. But we can implement or access them out of class using setter getter method. So if we have to implement it using setter getter method than any other person can implement it using setter getter method. . So how we are safe from manipulation??
@traderslearningbackyard21913 жыл бұрын
The advantage is that now I have controlled access. It is like having librarian in college to provide books.Even now you will get books only difference is librarian can put restrictions not to issue more than 3 books at a time.same is case with making private and expose them through public methods
@sivasandeepj6 жыл бұрын
Awesome! Thanks !
@mridulmishra49102 жыл бұрын
please give me the link in the description of $this keyword video.
@anuishwarya66014 жыл бұрын
Sir can you explain me the difference between constructor and getters and setters
@PaweCudzio6 жыл бұрын
Akcessors are not encapsulation. Accessors do not make Encapsulation. Encapsulation encapsulate some implemetation. U do not need know how some class work. This is very basic exampel.
@siddhantbhatt6184 жыл бұрын
it showing error if i declare class in public
@jeevan43375 жыл бұрын
How is it data hiding? We can see the data "Navin" etc
@prajs28255 жыл бұрын
Nice video...always appreciate but How fast explaination is..able to understand but will forget if once close the video...this speed of explaination not suits to students who wants to learn from videos. Plz make it slow if urs making this video for students too its helpful.
@yugandharjanardhan64665 жыл бұрын
I am a student and this is very useful instead of having a 20 minutes video.
@divyatej.a15533 жыл бұрын
Sir, what is the use of private over here
@yuwendridesilva69563 жыл бұрын
to the point!
@laeeqahmed95262 жыл бұрын
Thanks!
@sophiawan70385 жыл бұрын
Thank you so much! The video is very helpful!
@chandankumar-jp4li3 жыл бұрын
Attribute== private Getter/setter== public
@atifworld2 жыл бұрын
thanks
@sujeethkumarch26724 жыл бұрын
Only one word i can say woo..w
@Dyslexic_Neuron5 жыл бұрын
Great explanation
@General_Aladeen4 жыл бұрын
very well explained and easy to understand.
@manikanta-sr3zc5 жыл бұрын
Log file means sir
@hungerheal75915 жыл бұрын
Thanku sir🙏
@pritamparab64496 жыл бұрын
Sir make video on connection pooling 🙏
@shivammaniya29624 жыл бұрын
thanx u thanx u
@alexandruteodor35853 жыл бұрын
Thank you!
@420sw4g5 жыл бұрын
Very nice m8
@ravikanthvanapalli94752 жыл бұрын
can i write like that
@maitisumitranjan6 жыл бұрын
nice explanation.
@HariMudhirajVlogs2 жыл бұрын
Tq bava
@anchuarun8354 жыл бұрын
Plz talk abt helpers
@jayavardhan07603 жыл бұрын
Thanks sir
@kamalkushwah26596 жыл бұрын
Very helpful
@bhaneshwar6 жыл бұрын
logfiles , ultimate
@abhiram60873 жыл бұрын
what happens if i put my variables public.
@traderslearningbackyard21913 жыл бұрын
Then anyone can come and change and no control
@traderslearningbackyard21913 жыл бұрын
Also say i have sid property in student object and if it is public anyone can access sid property from reference variable right like Student st =new Student(); st.sid=10; say there are hundreds of places like this and imagine u want to change from sid to studentId then u need to find thousand places and modify it it is going to break all existing code right ? Instead if u have exposed sid only through public method and making private property sid. If i want to change property name from sid to studentId i have to just change property and in public method from sid to StudentId now all my 1000 places which use my public method wont get affected at all as it doesnt know the implentation if i am using sid or studentId internally
@harshkhantyal71475 жыл бұрын
great vedio
@marcobrace5 жыл бұрын
Metods
@ahmadaklakh6736 Жыл бұрын
Joney baba ki jai🙈
@rahulgoti38646 жыл бұрын
Thank You
@ehelper80995 жыл бұрын
Sir, what does actually Telusko mean?
@rangabharath42535 жыл бұрын
In Telugu language, Telusko means to know about something.
@ehelper80995 жыл бұрын
@@rangabharath4253 ohh..That is the meaning. Thank you sir for this kind sort of information.
@RajatGuptaOnline6 жыл бұрын
Awesome :)
@saleemali5945 жыл бұрын
Lectures are so boring and slow. These really help thanks.
@dancewithehsaas5 жыл бұрын
thank u!
@chandrabhan35016 жыл бұрын
Great
@joybhowmik49455 жыл бұрын
thankuu
@samarthyarishabh57272 жыл бұрын
Great video two words though, GO SLOW
@beastconquerer14885 жыл бұрын
plz explain more clear and speak less, in which ever language you are comfortable in....