Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Program Discussion :: Strings

Home > Programs > Strings

32 / 59

Write a program enter a string then convert it into upper case.


import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
 public static void main (String[] args) throws java.lang.Exception
 BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
 String str=br.readLine();
 int l=str.length();
 for(int i=0;i

Asked In :: IBM

Post Your Answer Here:


Post Your Reply Here: