"A price value may be entered with (,) characters like;12,500.00In Java, java.lang.Character class has a method; isDigit() which can be used to identify whether a character is a digit or not." . . . . .