certification

OCJAP 7. Tip 1: int ArrayList is valid name for variable

I'm currently preparing for Oracle Certified Associate, Java SE 7 Programmer (OCJAP 7) exam So, I would like to post some tips for myself and probably others.

Tip for today is quite simple: any class name might be used as variable name. For instance:

[geshifilter-java] // These are valid identifiers int ArrayList; boolean Boolean; char String; // ... public class TestSimple {} double TestSimple; [/geshifilter-java]