76
lindows
7y

public class Girl{
private int age = 28;
public int getAge(){
return 20;
}
}

Comments
  • 4
    Aahaha good one. Took me a few seconds though..
  • 1
    @1989 Maybe its 1989?
  • 1
    😂😂😂
  • 1
    Can somebody explain this to me?
  • 2
    @Sydochen it's referring to girls saying they are younger than they actually are. The age of the girl represented by this class is 28 (you can't see it directly, because it's private), but when you asks her (via her public method) you get 20, like if she told you so.
  • 1
    @vincetrot ok that part makes sense, and I pretty much got that can the get go, but why do people find that to be funny?
  • 2
    @Sydochen because it is a good analogy, and some people appreciate that.. I guess?
Add Comment