i am sorry for not explaining my question .. i posted in hurry ..btw i got solution
thnx newbie .......//
Type: Posts; User: jatinrai199
i am sorry for not explaining my question .. i posted in hurry ..btw i got solution
thnx newbie .......//
i am beginner in java
if there is any silly mistake please forgive me..
and if possible then plz tell me
" when we should make new classes in multiclasses program " !!
import java.util.*;
class MyComp implements Comparator
{
public int compare(Object o1 ,Object o2)
{
Temp t1 = (Temp)o1;
Temp t2 = (Temp)o2;
if(t1.salary>t2.salary)
return 1;...