View Code of Problem 25

    import java.util.Scanner;
    public class Main
    {
    	public static void main(String args[])
        {
          Scanner scan=new Scanner(System.in);
         int n=scan.nextInt();
          while(n-->0)
          {
           String s=scan.next();
            System.out.println(s.toLowCase());
          }
    	
        }
      
    }
/*
Main.java:11: error: cannot find symbol
            System.out.println(s.toLowCase());
                                ^
  symbol:   method toLowCase()
  location: variable s of type String
1 error
*/

Double click to view unformatted code.


Back to problem 25