When your object-oriented programming skills finally come in handy at a protest. Someone clearly paid attention in CS class instead of sleeping through encapsulation lectures. The sign brilliantly uses Java's access modifiers to make a statement - keeping gender as a private string variable that can't be modified by outside classes, rather than a public constant boolean that everyone gets to weigh in on. The compiler of this joke deserves a promotion.
Private String Gender
3 months ago
112,081 views
0 shares

java-memes, object-oriented-memes, programming-humor-memes, encapsulation-memes, access-modifiers-memes | ProgrammerHumor.io
More Like This
Sleep sort for lazies
4 years ago
67.2K views
0 shares

JavaScript has a bad rep but this really surprised me
3 years ago
40.8K views
0 shares

Why do java programmers wear glasses? Because they don't C#
3 years ago
43.1K views
0 shares

Don't know if this has been posted yet
1 year ago
45.4K views
0 shares

Loading more content...