Main.java:12: error: cannot find symbol
int q=toCharArray().length;
^
symbol: method toCharArray()
location: class Check
Main.java:13: error: cannot find symbol
int w=toCharArray().length;
^
symbol: method toCharArray()
location: class Check
Main.java:26: error: cannot find symbol
if(j==w)
^
symbol: variable j
location: class Check
Main.java:27: error: incompatible types
return 0;
^
required: boolean
found: int
Main.java:29: error: incompatible types
return 1;
^
required: boolean
found: int
Main.java:41: error: package system does not exist
system.out.println("For the given two strings, the condition of permutation is"+o);
^
6 errors