Click to See Complete Forum and Search --> : The Obfuscated Java Contest?


Joakim
March 11th, 1999, 09:25 AM
Hello fellow java programmers. Is anyone trying or thinking of submitting an entry to the Javapro contest?


If you haven't heard about it you can check it out at http://start.at/javapro.


One example of obfuscated code:

----snip begin/----

class Div{static $1 $_;class $1{void _$(String $_){System.//

out.print($_);}$1(){_();}void _(){int _,$,_$,$$,__,ä=(1<<5),

å=100,ö=12,åö=ä*ö;å-=1<<4;while(åö>0){for($$=_$=_=__=$=(int)

å;_$>($$-(1<<2));_$(""+(char)(_$)),_$-=1<<1)for(_=$=__-9;_>(

$-6);_-=1<<1,_$(""+(char)(_$!=å?_:ä)));char S$=(char)(å+ö+1)

;_$("te"+S$+(char)(ö+(int)S$));åö--;}}}Div(){$_=new $1();}

public static void main(String []$){Div å=new Div();}}

----/snip end----

Cut & save it as Div.java


Greetz Joakim


JavaPRO - Java for game developers