I just began to learn Java.
My friend who is helping me study just sent me this and said 'figure this out'.
Unfortunately I am unable to read this. It looks like Perl to me.
class _{_ _;_(){_=this;}}
What does it mean?
解决方案
_ is the class name. It's a very confusing one, but it works!
With the class renamed:
class Something {Something something;Something(){something=this;}}
And cleaned up:
class Something {
Something something;
Something() {
something=this;
}
}
And you can go crazy with this odd naming :)
class _{_ __;_ ____;_(){__=this;____=__;}_(_ ___){__=___;}}
In fact, Unicode is even supported, so this is valid:
class 合法類別名稱{合法類別名稱(){}}