no i cant solve it.. what is the method ?
Type: Posts; User: Rawezh Frya
no i cant solve it.. what is the method ?
<class sortt
{
public static void main(String args[])
{
String []a={"rawezh","ehsan","hewa","kawan"};
A ob=new A();
ob.B(a);
for(int i=0;i<a.length;i++)
System.out.print(a[i]+"...
i wanna sort String by slection sort.. so in the line 29 have error.
this is a error :: sortt.java:29: operator > cannot be applied to java.lang.String,java.lang.String
while...
i have error in line 29 and i cant solve it ....
class sortt
{
public static void main(String args[])
{
String []a={"rawezh","ehsan","hewa","kawan"};
A ob=new A();
ob.B(a);
for(int i=0;i<a.length;i++)
System.out.print(a[i]+"...