Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

data

Language: Layout:
- ] Show input
Compilation time: 0.83 sec, absolute service time: 0,97 sec 
edit mode |  history  | discussion
Error(s), warning(s):
source_file.java:25: error: no suitable method found for toString(int)
             answer = String.toString(index);
                            ^
    method CharSequence.toString() is not applicable
      (actual and formal argument lists differ in length)
    method Object.toString() is not applicable
      (actual and formal argument lists differ in length)
    method String.toString() is not applicable
      (actual and formal argument lists differ in length)
1 error