Update ValidNumber.java

Submission Result: Compile Error

Line 5: ';' expected

Submission Result: Wrong Answer L 27

Input:	".1"
Output:	false
Expected:	true

Submission Result: Wrong Answer

Input:	"."
Output:	true
Expected:	false

Submission Result: Wrong Answer L 53

Input:	". "
Output:	true
Expected:	false

Submission Result: Wrong Answer

Input:	"4e1.e"
Output:	true
Expected:	false

Submission Result: Wrong Answer

Input:	"6e6.5"
Output:	true
Expected:	false

Submission Result: Wrong Answer

Input:	" 005047e+6"
Output:	false
Expected:	true