Guest User

Untitled

a guest
May 26th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import javax.swing.JOptionPane;
  2.  
  3. public class test{
  4. public static void main(String args[]){
  5. String a;
  6. char c;
  7. a = JOptionPane.showInputDialog("Enter");
  8.  
  9. System.out.print(a);
  10.  
  11. for (int i = 0; i<=a.length() - 1; i++){
  12. c = a.charAt(i);
  13. }
  14. }
  15. }
Add Comment
Please, Sign In to add comment