0 LIKES LikeUnLike
/** * @(#)lowercasesandupper.java * * * @author * @version 1.00 2008/8/5 */import javax.swing.JOptionPane;import java.io.*;import java.util.*;import java.lang.*;public class lowercasesandupper { public static void main(String[]args) { String message; int i; String letter; char let; message=JOptionPane.showInputDialog("E... the string: "); message.length(); for(i=0;i<message.length();i++) { let = message.charAt(i); if(let == let.toUpperCase()) { System.out.print(""+let.toLowerCase())... } else { System.out.print(""+let.toUpperCase()... } } }}//ERROR OF THE PROGRAM:char cannot be dereferencedchar cannot be dereferencedchar cannot be dereferenced
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.