Java Tutorial For Beginners 23 - Public, Private, Protected and this (Java Access Modifiers)

preview_player
Показать описание
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

package protected java
java package visibility
java protected visibility
java class visibility
java default public private
java method visibility
java default protected
java protected vs default
java access modifiers example
java access modifiers inheritance
java non access modifiers
java final
java access modifiers for class
java access modifiers matrix
java access modifiers package-private
java access modifiers
Рекомендации по теме
Комментарии
Автор

Hi's a foreing student, i think from Asia, who lives in germany who speaks english!
You my friend have some big "cojones" and a hat tip from me.
Keep up the good work!

RemusIPRUNA
Автор

For those who are confused. Access modifiers define who has an access to methods. If you want to know who has an access see the table he has made.

clysen
Автор

4:30 for a moment i thought my new headphones were broken

maestroroshi
Автор

You should change your fire alarm system

mylesy
Автор

Hi Sir, Please if you can reload this video with voice again. Voice is missing after 4:20. Though I was able to complete this video with captions

harshwed
Автор

Even though you have some accent, I really appreciate your great explaination. It makes java easier to learn.

lynnz
Автор

Facing Sound Problems in Right ear, please solve this.

jayhalani
Автор

thank you, your videos are the best. you have an eye for aesthetics and understand how to educate efficiently

schrodingerscat
Автор

the whole explanation with this.x is why you should always try to give your local variables different names than your class/instance variables

example:

public static void setName (nameParameter){
this.name = nameParameter;
}

this will increase readability of your code and reduce confuzzlement.

christophfischer
Автор

Very fine course, but fix the sound problems, please.

pierrebastien
Автор

I like these tutorials very helpful for me. Thanks for doing such a good work.

bilalahmadtanzoo
Автор

Lol I was thinking to buy new headphone for a moment😂

justanaverageguy
Автор

thank you for this tutorial but in this  video sound is missing from minute 4:48

aptlo
Автор

you should change the batteries in your Smoke Detector! It could lead do bad things if you dont.

GrumpyPants.
Автор

for all of those who are facing sound issues, set the speed at 2x. Cheers

aeon_zen
Автор

Everything was going on great untill you reached this.name
Now I have to go through another tutorial to clear the Access modifier concept.
Apart from this plenty useful tutorials :)
Also I know this was done 7 years ago but the mic clicking is

rtwist
Автор

The explanation was pretty good.. Thank you!

sanidhyadesai
Автор

Is JAVA case sensitive? If yes then the member variable name stats with the lower case and when we use the getters and setters, we write it as getName, where we start the variable name with the upper case N.

MohammedAdain
Автор

Why mark is printed? It is supposed to be a private variable. And why the method is in public and not in private?

georgekrax
Автор

Superb explaination.. bu i have one doubt while accessing setters / getters we can see variable names where is the privacy for my variables..i didn't understand!!!

saideepakvaddepally