Hi Ashish , Can you clarify your question , its not really clear why you are confused and your title and code doesn't relate together , can you please clearly state what problem you are facing and may be we can help you out.
well this was he question in SCJP 6 book exccercise i just wanted to chk whether the solution i provided is roght or wrong
Q : Create a simple counting thread. It will count to 100, pausing one second between each number. Also, in keeping with the counting theme, it will output string every ten number.