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
19 hours ago
55,488 views
0 shares

java-memes, object-oriented-memes, programming-humor-memes, encapsulation-memes, access-modifiers-memes | ProgrammerHumor.io
More Like This
Ah yes, thank you tutorialspoint.com, exactly what I was looking for.
2 years ago
46.3K views
0 shares

Mobile websites
3 years ago
26.2K views
0 shares

Javascript applied in the right context
1 year ago
18.5K views
0 shares

Loading more content...