View Single Post
  #1 (permalink)  
Old 04-22-2008, 06:30 PM
denisdoherty denisdoherty is offline
Member
 
Join Date: Apr 2008
Posts: 31
denisdoherty is on a distinguished road
'class' or 'interface' expected
I am having another problem, when i entered in this code
Code:
private static boolean number(String Number, Interface, theStub){ try{ String List = theStub.getnumber(); StringTokenizer tokens = new StringTokenizer (List); while (tokens.hasMoreTokens()) if (tokens.nextToken().equalsIgnoreCase(Number)) return true; }catch (Exception e) {System.out.println("Error : " + e); } return false; }
It was throwing me back an error class or interface expected but i can not see the problem with the code, does anyone know where i am going wrong.
Reply With Quote
Sponsored Links