Update RestoreIPAddresses.java

Submission Result: Compile Error

Line 6: cannot find symbol: variable length

Submission Result: Compile Error

Line 24: cannot find symbol: constructor String(int)

Input:	"010010"
Output:	["0.1.0.10","0.1.0.10","0.1.1.0","0.10.0.10","0.10.1.0","0.100.1.0","1.0.0.10","1.0.1.0","1.0.1.0","10.0.1.0"]
Expected:	["0.10.0.10","0.100.1.0"]

Submission Result: Compile Error

Line 62: illegal start of expression

Submission Result: Wrong Answer L 44

Input:	"25525511135"
Output:	[]
Expected:	["255.255.11.135","255.255.111.35"]