I couldn't get this code working:
public class scan
public static void main (String args)
Scanner scan = new Scanner(System.in);
System.out.println("Testing Scanner, write something: ");
testi = scan.nextString();
Did i write something wrong or can't Scanner be used with String?