Thread: char problem
View Single Post
  #2 (permalink)  
Old July 19th, 2003, 12:29 AM
Yashraj Chauhan Yashraj Chauhan is offline
Authorized User
 
Join Date: May 2003
Location: New Delhi, Delhi, India.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi
Following changes u have to do in your code to convert c1 to uppercase.
c3 = Character.toUpperCase(c1);
toUpperCase is a method of caharcter class and to call a method in java you have specify which class method you are calling so u have to write Character.toUpperCase(char).

Regards


Yashraj Chauhan
Java\J2EE Specialist
Wiley Support Team