How to use Comparable interface in j2me
Hey hi friends I am going to use Comparable interface in j2me but it showing error on line Comparable interface, which import statement need to be write or how to remove this error from j2me class. please help me
public class DFTpair implements Comparable{
its 开发者_运维问答showing red line on Comparable Thnks
If you want to develop on J2ME platform it's good idea to get documentation for API you need. The most popular profiles and configurations (all versions of MIDP and CLDC) don't have this interface. So if you want this interface you have to create it by yourself.
And what do you need Comparable for?
精彩评论