0

It Show Error I cannot Understad "Cannot find Symole"

class Person1 { public int detalis(int x,int y) { return x+y; } public static void main(String args[]) { Person1 p=new Person1(); p.details(10,20); } }

11th Aug 2018, 8:32 AM
M Ashok Kumar
M Ashok Kumar - avatar
6 Answers
+ 2
class Person1 { public int details(int x,int y) // <- detalis { return x+y; } public static void main(String args[]) { Person1 p=new Person1(); // Call println to output the result System.out.println(p.details(10,20)); } }
11th Aug 2018, 9:28 AM
Ipang
0
Typo on line 3.
11th Aug 2018, 9:19 AM
John
John - avatar
0
did that fix your issue?, if it did please mark my answer as correct.
11th Aug 2018, 9:29 AM
John
John - avatar
0
it's show's same error
11th Aug 2018, 10:19 AM
M Ashok Kumar
M Ashok Kumar - avatar
0
Post the exact code that you have.
11th Aug 2018, 10:20 AM
John
John - avatar
0
I want know the above code wt i did mistake
11th Aug 2018, 10:21 AM
M Ashok Kumar
M Ashok Kumar - avatar