mercredi 18 mars 2015

How to create an int named "int" in Java



Well, as title says it is a weird question. I want to create an int called int and of course if i write;



int int;


java(eclipse) gives error. So I've been wondering if it is possible to create such a thing? if you are asking me why i insist on this, I've created str for strength, agi for agility, but int for intelligence can not be created. So should I just describe it in another way or is there a simple way to do it?




Aucun commentaire:

Enregistrer un commentaire