Read this, Sudhakar Sharma, which appears on the
Beginning Java title page.
We're all here to learn, so when responding to others, please focus on helping them discover their own solutions, instead of simply providing answers.
By giving a straight answer, you have deprived Ramakrishna Konanki of the chance to learn for himself. Christophe's suggestion was far better; he would have remembered the answer longer, and learned about the API documentation, if he had looked it up for himself. It would only have taken a few seconds to find the answer from the API.