How to rename a batch of files with a incremaenting number in the file name

view full story

http://askubuntu.com – I want to rename batch of files named Example1.java,Example2.java....... to Q1.java,Q2.java...... at once Is this possible? I looked for an answer but I couldn't found. And I'm new to Ubuntu.Currently my desktop is running on Lucid. Please help me (HowTos)