|
|
Re: Java
|
Posted: Jun 17, 2007 9:16 PM
|
|
1. It means whenever u are parsing a statement u shud ensuer that every new sentence starts with an uppercase letter and there is one space after the period (.).
For example: Correct one: This is a test statement. It has to be parsed in my java program. But I am not sure how to do it.
Incorrect one: This is a test statement. It has to be parsed in my java program.but I am not sure how to do it.
In the incorrect one u can see that "b" is lowercase in the word "but" wherein it shud have been uppercase as it is start of new sentence. This is sentence case. And also there are multiple spaces 'sure' and 'how'. This is multiple spaces mistake in a statement which u shud be removing and having only one space betn two words. Also u can see that there is no spce betn period(.) and 'but' which is again incorrect. There shud be a space betn period and the next word.
2. For this u need to have a program or class in place. If you can write the initial code, then someone in this forum can help u with the mistakes, but the entire code cannot be written and given. Spoon feeding is a bad habit :).
Regards, Rajeev
|
|