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); } }
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));
}
}
0
Typo on line 3.
0
did that fix your issue?, if it did please mark my answer as correct.
0
it's show's same error
0
Post the exact code that you have.
0
I want know the above code wt i did mistake