All pastes #564488 Raw Edit

HForcE

public text v1 · immutable
·published 2007-06-13 16:46 UTC
rendered paste body
import java.util.*;
import java.io.*;
import java.lang.*;



in my method code : 

boolean test;
String s = "OneTwoThree";

if(s.contains("Two"))
{
   System.out.println(" OK Trouvé ! ");
}



And i got this error :


Application/ApplicationMusee/Moteur/Moteur.java [84:1] cannot resolve symbol
symbol  : method contains (java.lang.String)
location: class java.lang.String
         if(n.contains("lol"))
             ^
1 error
Errors compiling Moteur.