error in getsubject method;

here is a piece of code
  while ( axioms.hasNext() ) {
                    Resource re=axioms.next().getSubject() ;
                        System.out.println( "\t"+ re);
ERROR in netbeans:
cannot find symbol
  symbol:   method getSubject()
  location: class java.lang.Object

-- 
with regards.....
sugan,...

Reply via email to