Java quine

M.V.M-n.

I’ve been reading again today some articles that mentioned quines, and decided that I should try to write a quine myself – right away, without looking up any techniques for quine writing.

In around half an hour or so it was done. Checking Wikipedia subsequently revealed that I’ve used same approach as everyone else – put source code contents into string array, and take care to output it properly twice.

Here’s the code of my quine in case anyone’s interested.

View original post 185 mots de plus

Publicités
Par défaut