0

Error again! Why?

statement= return String.format("%02d:%02d:%02d", hour, minute, second); error= "The method format(String, Object[]) in the type String is not applicable for the arguments(String,int,int,int)". Pliz correct my code.

14th Dec 2016, 3:39 AM
Pukhramabam Prameshwormani Singh
2 Answers
0
no , (comma) leave the comma
2nd Jan 2017, 11:50 PM
Samxamnam
Samxamnam - avatar
0
between hoir minute and secound
2nd Jan 2017, 11:50 PM
Samxamnam
Samxamnam - avatar